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:
ChangelogException
,CryptoManagerException
,EmbeddedDirectoryServerException
,IdentifiedException
,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 protected
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalizableMessage
getMessageObject()
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: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.
-
-