src/java.base/share/classes/java/lang/ReflectiveOperationException.java

Print this page




  71      *         permitted, and indicates that the cause is nonexistent or
  72      *         unknown.)
  73      */
  74     public ReflectiveOperationException(String message, Throwable cause) {
  75         super(message, cause);
  76     }
  77 
  78     /**
  79      * Constructs a new exception with the specified cause and a detail
  80      * message of {@code (cause==null ? null : cause.toString())} (which
  81      * typically contains the class and detail message of {@code cause}).
  82      *
  83      * @param  cause the cause (which is saved for later retrieval by the
  84      *         {@link #getCause()} method).  (A {@code null} value is
  85      *         permitted, and indicates that the cause is nonexistent or
  86      *         unknown.)
  87      */
  88     public ReflectiveOperationException(Throwable cause) {
  89         super(cause);
  90     }



















  91 }


  71      *         permitted, and indicates that the cause is nonexistent or
  72      *         unknown.)
  73      */
  74     public ReflectiveOperationException(String message, Throwable cause) {
  75         super(message, cause);
  76     }
  77 
  78     /**
  79      * Constructs a new exception with the specified cause and a detail
  80      * message of {@code (cause==null ? null : cause.toString())} (which
  81      * typically contains the class and detail message of {@code cause}).
  82      *
  83      * @param  cause the cause (which is saved for later retrieval by the
  84      *         {@link #getCause()} method).  (A {@code null} value is
  85      *         permitted, and indicates that the cause is nonexistent or
  86      *         unknown.)
  87      */
  88     public ReflectiveOperationException(Throwable cause) {
  89         super(cause);
  90     }
  91 
  92     /**
  93      * Package-private constructor that enables all control on the construction
  94      * of exception object.
  95      *
  96      * @param  message the detail message.
  97      * @param cause the cause.  (A {@code null} value is permitted,
  98      * and indicates that the cause is nonexistent or unknown.)
  99      * @param enableSuppression whether or not suppression is enabled
 100      *                          or disabled
 101      * @param writableStackTrace whether or not the stack trace should
 102      *                           be writable
 103      */
 104     ReflectiveOperationException(String message,
 105                                  Throwable cause,
 106                                  boolean enableSuppression,
 107                                  boolean writableStackTrace) {
 108         super(message, cause, enableSuppression, writableStackTrace);
 109     }
 110 }