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
@PublicAPI(stability=VOLATILE, mayInvoke=true) public abstract class OpenDsException extends Exception implements LocalizableException
This class defines a base exception for OpenDS exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOpenDsException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalizableMessagegetMessageObject()Returns 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 Detail
-
OpenDsException
protected OpenDsException(LocalizableMessage message)
Creates a new identified exception with the provided information.- Parameters:
message- The message that explains the problem that occurred.
-
OpenDsException
protected OpenDsException(Throwable cause)
Creates a new identified exception with the provided information.- Parameters:
cause- The underlying cause that triggered this exception.
-
OpenDsException
protected OpenDsException(LocalizableMessage message, Throwable cause)
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 Detail
-
getMessageObject
public LocalizableMessage 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.
-
-