Package org.apache.shiro.util
Class InstantiationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.shiro.ShiroException
-
- org.apache.shiro.util.InstantiationException
-
- All Implemented Interfaces:
Serializable
public class InstantiationException extends ShiroException
Runtime exception thrown by the framework when unable to instantiate a Class via reflection.- Since:
- 0.2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InstantiationException()
Creates 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 Detail
-
InstantiationException
public InstantiationException()
Creates a new InstantiationException.
-
InstantiationException
public InstantiationException(String message)
Constructs a new InstantiationException.- Parameters:
message
- the reason for the exception
-
InstantiationException
public InstantiationException(Throwable cause)
Constructs a new InstantiationException.- Parameters:
cause
- the underlying Throwable that caused this exception to be thrown.
-
InstantiationException
public InstantiationException(String message, Throwable cause)
Constructs a new InstantiationException.- Parameters:
message
- the reason for the exceptioncause
- the underlying Throwable that caused this exception to be thrown.
-
-