1 7 8 package javax.management; 9 10 11 12 19 public class ReflectionException extends JMException { 20 21 22 private static final long serialVersionUID = 9170809325636915553L; 23 24 27 private java.lang.Exception exception ; 28 29 30 35 public ReflectionException(java.lang.Exception e) { 36 super() ; 37 exception = e ; 38 } 39 40 47 public ReflectionException(java.lang.Exception e, String message) { 48 super(message) ; 49 exception = e ; 50 } 51 52 57 public java.lang.Exception getTargetException() { 58 return exception ; 59 } 60 61 66 public Throwable getCause() { 67 return exception; 68 } 69 } 70 | Popular Tags |