Class ConfigException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.forgerock.opendj.config.server.ConfigException
-
- All Implemented Interfaces:
Serializable
,LocalizableException
public final class ConfigException extends Exception implements LocalizableException
Thrown during the course of interactions with the Directory Server configuration.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigException(Throwable cause)
Creates a new configuration exception with the provided cause.ConfigException(LocalizableMessage message)
Creates a new configuration exception with the provided message.ConfigException(LocalizableMessage message, Throwable cause)
Creates a new configuration exception with the provided message and underlying 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
-
ConfigException
public ConfigException(LocalizableMessage message)
Creates a new configuration exception with the provided message.- Parameters:
message
- The message to use for this configuration exception.
-
ConfigException
public ConfigException(Throwable cause)
Creates a new configuration exception with the provided cause.- Parameters:
cause
- The underlying cause that triggered this configuration exception.
-
ConfigException
public ConfigException(LocalizableMessage message, Throwable cause)
Creates a new configuration exception with the provided message and underlying cause.- Parameters:
message
- The message to use for this configuration exception.cause
- The underlying cause that triggered this configuration 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.
-
-