1 7 8 package javax.management; 9 10 11 19 public class MBeanException extends JMException { 20 21 22 23 private static final long serialVersionUID = 4066342430588744142L; 24 25 28 private java.lang.Exception exception ; 29 30 31 36 public MBeanException(java.lang.Exception e) { 37 super() ; 38 exception = e ; 39 } 40 41 48 public MBeanException(java.lang.Exception e, String message) { 49 super(message) ; 50 exception = e ; 51 } 52 53 54 59 public Exception getTargetException() { 60 return exception; 61 } 62 63 68 public Throwable getCause() { 69 return exception; 70 } 71 } 72 | Popular Tags |