|
|||||||||
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.server.types.IdentifiedException
org.opends.server.tools.ClientException
public class ClientException
This class defines an exception that may be thrown if a local problem occurs in a Directory Server client.
Constructor Summary | |
---|---|
ClientException(int exitCode,
Message message)
Creates a new client exception with the provided message. |
|
ClientException(int exitCode,
Message message,
java.lang.Throwable cause)
Creates a new client exception with the provided message and root cause. |
Method Summary | |
---|---|
int |
getExitCode()
Retrieves the exit code that the client may use if it considers this to be a fatal problem. |
Methods inherited from class org.opends.server.types.OpenDsException |
---|
getMessageObject |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClientException(int exitCode, Message message)
exitCode
- The exit code that may be used if the client considers
this to be a fatal problem.message
- The message that explains the problem that occurred.public ClientException(int exitCode, Message message, java.lang.Throwable cause)
exitCode
- The exit code that may be used if the client considers
this to be a fatal problem.message
- The message that explains the problem that occurred.cause
- The exception that was caught to trigger this exception.Method Detail |
---|
public int getExitCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |