Package java.lang
Class ReflectiveOperationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.ReflectiveOperationException
-
- All Implemented Interfaces:
Serializable
,Modified
- Direct Known Subclasses:
ClassNotFoundException
,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
getMessage, printStackTrace, printStackTrace, toString
-
-
-
-
Constructor Detail
-
ReflectiveOperationException
public ReflectiveOperationException()
Constructs a new exception with no detail message.
-
ReflectiveOperationException
public ReflectiveOperationException(String message)
Constructs a new exception with the given detail message.- Parameters:
message
- Exception message
-
ReflectiveOperationException
public ReflectiveOperationException(Throwable cause)
Constructs a new exception with the given cause.- Parameters:
cause
- Exception cause.
-
-