< prev index next >

jdk/test/sun/management/jmxremote/bootstrap/TestManager.java

Print this page

        

*** 55,65 **** */ private static void startManagementAgent(String pid) throws IOException { try { VirtualMachine.attach(pid).startLocalManagementAgent(); } catch (Exception x) { ! throw new IOException(x.getMessage()); } } private static void connect(String pid, String address) throws Exception { if (address == null) { --- 55,65 ---- */ private static void startManagementAgent(String pid) throws IOException { try { VirtualMachine.attach(pid).startLocalManagementAgent(); } catch (Exception x) { ! throw new IOException(x.getMessage(), x); } } private static void connect(String pid, String address) throws Exception { if (address == null) {
< prev index next >