Class ShiroException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CodecException, InstantiationException, SerializationException, UnknownClassException

public class ShiroException extends RuntimeException
Root exception for all Shiro runtime exceptions. This class is used as the root instead of SecurityException to remove the potential for conflicts; many other frameworks and products (such as J2EE containers) perform special operations when encountering SecurityException.
Since:
0.1
See Also:
  • Constructor Details

    • ShiroException

      public ShiroException()
      Creates a new ShiroException.
    • ShiroException

      public ShiroException(String message)
      Constructs a new ShiroException.
      Parameters:
      message - the reason for the exception
    • ShiroException

      public ShiroException(Throwable cause)
      Constructs a new ShiroException.
      Parameters:
      cause - the underlying Throwable that caused this exception to be thrown.
    • ShiroException

      public ShiroException(String message, Throwable cause)
      Constructs a new ShiroException.
      Parameters:
      message - the reason for the exception
      cause - the underlying Throwable that caused this exception to be thrown.