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
ConstructorsModifierConstructorDescriptionprotected
OpenDsException
(Throwable cause) Creates a new identified exception with the provided information.protected
OpenDsException
(LocalizableMessage message) Creates a new identified exception with the provided information.protected
OpenDsException
(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:LocalizableException
Returns the localizable message that explains the problem that occurred.- Specified by:
getMessageObject
in interfaceLocalizableException
- Returns:
- The localizable message that explains the problem that occurred.
-