|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.apache.shiro.ShiroException
public class ShiroException
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
.
Constructor Summary | |
---|---|
ShiroException()
Creates a new ShiroException. |
|
ShiroException(String message)
Constructs a new ShiroException. |
|
ShiroException(String message,
Throwable cause)
Constructs a new ShiroException. |
|
ShiroException(Throwable cause)
Constructs a new ShiroException. |
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 |
---|
public ShiroException()
public ShiroException(String message)
message
- the reason for the exceptionpublic ShiroException(Throwable cause)
cause
- the underlying Throwable that caused this exception to be thrown.public ShiroException(String message, Throwable cause)
message
- the reason for the exceptioncause
- the underlying Throwable that caused this exception to be thrown.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |