|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.opends.server.types.OpenDsException
org.opends.admin.ads.ADSContextException
public class ADSContextException
This is the exception that is thrown in ADSContext.
ADSContext
,
Serialized FormNested Class Summary | |
---|---|
static class |
ADSContextException.ErrorType
The enumeration containing the different error types. |
Constructor Summary | |
---|---|
ADSContextException(ADSContextException.ErrorType error)
Creates an ADSContextException of the given error type. |
|
ADSContextException(ADSContextException.ErrorType error,
java.lang.Throwable x)
Creates an ADSContextException of the given error type with the provided error cause. |
Method Summary | |
---|---|
java.lang.Throwable |
getCause()
Returns the throwable that caused this exception. |
ADSContextException.ErrorType |
getError()
Returns the error type of this exception. |
Message |
getReason()
Retrieves a message providing the reason for this exception. |
void |
printStackTrace()
|
Methods inherited from class org.opends.server.types.OpenDsException |
---|
getMessageObject |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ADSContextException(ADSContextException.ErrorType error)
error
- the error type.public ADSContextException(ADSContextException.ErrorType error, java.lang.Throwable x)
error
- the error type.x
- the throwable that generated this exception.Method Detail |
---|
public ADSContextException.ErrorType getError()
public java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
public Message getReason()
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |