|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.unboundid.util.LDAPSDKException
@NotExtensible @ThreadSafety(level=COMPLETELY_THREADSAFE) public abstract class LDAPSDKException
This class serves as the base class for all custom checked exception types defined in the LDAP SDK.
| Constructor Summary | |
|---|---|
protected |
LDAPSDKException(java.lang.String message)
Creates a new instance of this exception with the provided message. |
protected |
LDAPSDKException(java.lang.String message,
java.lang.Throwable cause)
Creates a new instance of this exception with the provided message and cause. |
| Method Summary | |
|---|---|
java.lang.String |
getExceptionMessage()
Retrieves a string representation of this exception suitable for use in messages. |
java.lang.String |
toString()
Retrieves a string representation of this exception. |
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this exception to the provided buffer. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 |
|---|
protected LDAPSDKException(java.lang.String message)
message - The message to use for this exception.
protected LDAPSDKException(java.lang.String message,
java.lang.Throwable cause)
message - The message to use for this exception.cause - The underlying cause for this exception. It may be
null if no cause is available.| Method Detail |
|---|
public final java.lang.String toString()
toString in class java.lang.Throwablepublic void toString(java.lang.StringBuilder buffer)
buffer - The buffer to which the string representation of this
exception is to be appended.public java.lang.String getExceptionMessage()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||