src/java.base/share/classes/java/lang/ReflectiveOperationException.java
Print this page
*** 86,91 ****
--- 86,110 ----
* unknown.)
*/
public ReflectiveOperationException(Throwable cause) {
super(cause);
}
+
+ /**
+ * Package-private constructor that enables all control on the construction
+ * of exception object.
+ *
+ * @param message the detail message.
+ * @param cause the cause. (A {@code null} value is permitted,
+ * and indicates that the cause is nonexistent or unknown.)
+ * @param enableSuppression whether or not suppression is enabled
+ * or disabled
+ * @param writableStackTrace whether or not the stack trace should
+ * be writable
+ */
+ ReflectiveOperationException(String message,
+ Throwable cause,
+ boolean enableSuppression,
+ boolean writableStackTrace) {
+ super(message, cause, enableSuppression, writableStackTrace);
+ }
}