Package org.apache.shiro.env
Class RequiredTypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.shiro.ShiroException
-
- org.apache.shiro.env.EnvironmentException
-
- org.apache.shiro.env.RequiredTypeException
-
- All Implemented Interfaces:
Serializable
public class RequiredTypeException extends EnvironmentException
Exception thrown when attempting to acquire an object of a required type and that object does not equal, extend, or implement a specifiedClass
.- Since:
- 1.2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RequiredTypeException(String message)
RequiredTypeException(String message, Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-