Package org.forgerock.opendj.setup.model
Class SetupException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.forgerock.opendj.setup.model.SetupException
-
- All Implemented Interfaces:
Serializable
,LocalizableException
public final class SetupException extends Exception implements LocalizableException
Exception which may be thrown by theSetup
model.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SetupException(Throwable cause)
Creates a newSetupException
with the providedThrowable
cause.SetupException(LocalizableMessage message)
Creates a newSetupException
with the providedLocalizableMessage
.SetupException(LocalizableMessage message, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalizableMessage
getMessageObject()
Returns theLocalizableMessage
attached to this exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SetupException
public SetupException(LocalizableMessage message)
Creates a newSetupException
with the providedLocalizableMessage
.- Parameters:
message
- The exception message
-
SetupException
public SetupException(Throwable cause)
Creates a newSetupException
with the providedThrowable
cause.- Parameters:
cause
- The exception cause
-
SetupException
public SetupException(LocalizableMessage message, Throwable cause)
- Parameters:
message
- The exception messagecause
- The exception cause
-
-
Method Detail
-
getMessageObject
public LocalizableMessage getMessageObject()
Returns theLocalizableMessage
attached to this exception.- Specified by:
getMessageObject
in interfaceLocalizableException
- Returns:
- the
LocalizableMessage
attached to this exception.
-
-