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 specified Class
.
- Since:
- 1.2
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
RequiredTypeException
public RequiredTypeException(String message)
RequiredTypeException
public RequiredTypeException(String message,
Throwable cause)
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.