Class InstantiationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.shiro.lang.ShiroException
org.apache.shiro.lang.util.InstantiationException
- All Implemented Interfaces:
Serializable
Runtime exception thrown by the framework when unable to instantiate a Class via reflection.
- Since:
- 0.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new InstantiationException.InstantiationException(String message) Constructs a new InstantiationException.InstantiationException(String message, Throwable cause) Constructs a new InstantiationException.InstantiationException(Throwable cause) Constructs a new InstantiationException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InstantiationException
public InstantiationException()Creates a new InstantiationException. -
InstantiationException
Constructs a new InstantiationException.- Parameters:
message- the reason for the exception
-
InstantiationException
Constructs a new InstantiationException.- Parameters:
cause- the underlying Throwable that caused this exception to be thrown.
-
InstantiationException
Constructs a new InstantiationException.- Parameters:
message- the reason for the exceptioncause- the underlying Throwable that caused this exception to be thrown.
-