Package org.opends.server.types
Class OpenDsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opends.server.types.OpenDsException
- All Implemented Interfaces:
Serializable,LocalizableException
- Direct Known Subclasses:
AciException,ChangelogException,CryptoManagerException,DisconnectException,EmbeddedDirectoryServerException,InitializationException,LDIFException,TaskClientException
This class defines a base exception for OpenDS exceptions.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOpenDsException(Throwable cause) Creates a new identified exception with the provided information.protectedOpenDsException(LocalizableMessage message) Creates a new identified exception with the provided information.protectedOpenDsException(LocalizableMessage message, Throwable cause) Creates a new identified exception with the provided information. -
Method Summary
Modifier and TypeMethodDescriptionReturns the localizable message that explains the problem that occurred.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OpenDsException
Creates a new identified exception with the provided information.- Parameters:
message- The message that explains the problem that occurred.
-
OpenDsException
Creates a new identified exception with the provided information.- Parameters:
cause- The underlying cause that triggered this exception.
-
OpenDsException
Creates a new identified exception with the provided information.- Parameters:
message- The message that explains the problem that occurred.cause- The underlying cause that triggered this exception.
-
-
Method Details
-
getMessageObject
Description copied from interface:LocalizableExceptionReturns the localizable message that explains the problem that occurred.- Specified by:
getMessageObjectin interfaceLocalizableException- Returns:
- The localizable message that explains the problem that occurred.
-