Package java.lang
Class ReflectiveOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.ReflectiveOperationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ClassNotFoundException,IllegalAccessException,InstantiationException,InvocationTargetException,NoSuchFieldException,NoSuchMethodException
public class ReflectiveOperationException extends Exception
Superclass of exceptions related to reflection.
- Since:
- 1.7
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ReflectiveOperationException()Constructs a new exception with no detail message.ReflectiveOperationException(String message)Constructs a new exception with the given detail message.ReflectiveOperationException(String message, Throwable cause)Constructs a new exception with the given detail message and cause.ReflectiveOperationException(Throwable cause)Constructs a new exception with the given cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ReflectiveOperationException
public ReflectiveOperationException()Constructs a new exception with no detail message. -
ReflectiveOperationException
Constructs a new exception with the given detail message. -
ReflectiveOperationException
Constructs a new exception with the given cause. -
ReflectiveOperationException
Constructs a new exception with the given detail message and cause.
-