|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.caucho.security.SecurityContextException
public class SecurityContextException
Security exception for finding the current security context.
Constructor Summary | |
---|---|
SecurityContextException()
Null for serializable. |
|
SecurityContextException(java.lang.String msg)
Create a basic SecurityContextException with a message. |
|
SecurityContextException(java.lang.String message,
java.lang.Throwable rootCause)
Create a SecurityContextException wrapping a root exception. |
|
SecurityContextException(java.lang.Throwable rootCause)
Create a SecurityContextException wrapping a root exception. |
Method Summary | |
---|---|
java.lang.String |
getMessage()
Returns the appropriate exception message. |
java.lang.Throwable |
getRootCause()
Returns the root exception if it exists. |
java.lang.String |
toString()
Print the exception as a string. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SecurityContextException()
public SecurityContextException(java.lang.String msg)
msg
- the exception message.public SecurityContextException(java.lang.Throwable rootCause)
rootCause
- the underlying wrapped exception.public SecurityContextException(java.lang.String message, java.lang.Throwable rootCause)
message
- the message to use.rootCause
- the underlying wrapped exception.Method Detail |
---|
public java.lang.Throwable getRootCause()
getRootCause
in interface ExceptionWrapper
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |