1 7 8 package javax.management; 9 10 11 16 public class JMRuntimeException extends RuntimeException { 17 18 19 private static final long serialVersionUID = 6573344628407841861L; 20 21 24 public JMRuntimeException() { 25 super(); 26 } 27 28 33 public JMRuntimeException(String message) { 34 super(message); 35 } 36 37 42 JMRuntimeException(String message, Throwable cause) { 43 super(message); 44 45 52 try { 53 java.lang.reflect.Method initCause = 54 Throwable .class.getMethod("initCause", 55 new Class [] {Throwable .class}); 56 initCause.invoke(this, new Object [] {cause}); 57 } catch (Exception e) { 58 } 60 } 61 } 62 | Popular Tags |