public class SecurityContextException extends java.lang.RuntimeException implements ExceptionWrapper, java.io.Serializable
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.public java.lang.Throwable getRootCause()
getRootCause in interface ExceptionWrapperpublic java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.Throwable