public class TokenRuntimeException
extends java.lang.RuntimeException
| Modifier and Type | Field and Description | 
|---|---|
protected java.lang.Exception | 
encapsulatedException_
An encapsulated (inner) exception. 
 | 
| Constructor and Description | 
|---|
TokenRuntimeException()
The default constructor. 
 | 
TokenRuntimeException(java.lang.Exception encapsulatedException)
Constructor taking an other exception to wrap. 
 | 
TokenRuntimeException(java.lang.String message)
Constructor taking an exception message. 
 | 
TokenRuntimeException(java.lang.String message,
                     java.lang.Exception encapsulatedException)
Constructor taking a message for this exception and an other exception to
 wrap. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Exception | 
getEncapsulatedException()
Get the encapsulated (wrapped) exceptin. 
 | 
java.lang.String | 
toString()
Returns the string representation of this exception, including the string
 representation of the wrapped (encapsulated) exception. 
 | 
protected java.lang.Exception encapsulatedException_
public TokenRuntimeException()
public TokenRuntimeException(java.lang.String message)
message - The message giving details about the exception to ease
                debugging.public TokenRuntimeException(java.lang.Exception encapsulatedException)
encapsulatedException - The other exception the wrap into this.public TokenRuntimeException(java.lang.String message,
                     java.lang.Exception encapsulatedException)
message - The message giving details about the exception to ease
                debugging.encapsulatedException - The other exception the wrap into this.public java.lang.Exception getEncapsulatedException()
public java.lang.String toString()
toString in class java.lang.Throwable