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 protectedAdminException(LocalizableMessage message)Create an admin exception with a message.protectedAdminException(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 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
- 
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:LocalizableExceptionReturns the localizable message that explains the problem that occurred.- Specified by:
 getMessageObjectin interfaceLocalizableException- Returns:
 - The localizable message that explains the problem that occurred.
 
 
 - 
 
 -