Package org.forgerock.opendj.config
Class AdminException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.forgerock.opendj.config.AdminException
-
- All Implemented Interfaces:
Serializable
,LocalizableException
- Direct Known Subclasses:
OperationRejectedException
,OperationsException
public abstract class AdminException extends Exception implements LocalizableException
Exceptions thrown when interacting with administration framework.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AdminException(LocalizableMessage message)
Create an admin exception with a message.protected
AdminException(LocalizableMessage message, Throwable cause)
Create an admin exception with a message and cause.
-
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
-
AdminException
protected AdminException(LocalizableMessage message, Throwable cause)
Create an admin exception with a message and cause.- Parameters:
message
- The message.cause
- The cause.
-
AdminException
protected AdminException(LocalizableMessage message)
Create an admin exception with a message.- Parameters:
message
- The message.
-
-
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.
-
-