| Modifier and Type | Field and Description |
|---|---|
| private Throwable | _exception
The possibly null root cause exception. |
| private static final long | serialVersionUID
Use serialVersionUID from JSR 28 RI for interoperability
|
| Access | Constructor and Description |
|---|---|
| public | |
| public | SaslException(String
A possibly null string containing details of the exception. detail)Constructs a new instance of |
| public | SaslException(String
A possibly null string containing details of the exception. detail, Throwable A possibly null root exception that caused this exception. ex)Constructs a new instance of |
| Modifier and Type | Method and Description |
|---|---|
| public Throwable | getCause()
Overrides java. Returns the cause of this throwable or |
| public Throwable | initCause(Throwable cause)
Overrides java. Initializes the cause of this throwable to the specified value. |
| public String | Returns: The non-null string representation of this exception.Overrides java. Returns the string representation of this exception. |
| _exception | back to summary |
|---|---|
| private Throwable _exception The possibly null root cause exception. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. Use serialVersionUID from JSR 28 RI for interoperability | |
| SaslException | back to summary |
|---|---|
| public SaslException() Constructs a new instance of | |
| SaslException | back to summary |
|---|---|
| public SaslException(String detail) Constructs a new instance of
| |
| SaslException | back to summary |
|---|---|
| public SaslException(String detail, Throwable ex) Constructs a new instance of
| |
| getCause | back to summary |
|---|---|
| public Throwable getCause() Overrides java. Doc from java. Returns the cause of this throwable or This implementation returns the cause that was supplied via one of
the constructors requiring a | |
| initCause | back to summary |
|---|---|
| public Throwable initCause(Throwable cause) Overrides java. Doc from java. Initializes the cause of this throwable to the specified value. (The cause is the throwable that caused this throwable to get thrown.) This method can be called at most once. It is generally called from
within the constructor, or immediately after creating the
throwable. If this throwable was created
with An example of using this method on a legacy throwable type without other support for setting the cause is:
try {
lowLevelOp();
} catch (LowLevelException le) {
throw (HighLevelException)
new HighLevelException().initCause(le); // Legacy constructor
}
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns the string representation of this exception. The string representation contains this exception's class name, its detailed message, and if it has a root exception, the string representation of the root exception. This string representation is meant for debugging and not meant to be interpreted programmatically.
| |