org.apache.shiro.env
Class RequiredTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.shiro.ShiroException
                  extended by org.apache.shiro.env.EnvironmentException
                      extended by 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

Constructor Summary
RequiredTypeException(String message)
           
RequiredTypeException(String message, Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequiredTypeException

public RequiredTypeException(String message)

RequiredTypeException

public RequiredTypeException(String message,
                             Throwable cause)


Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.