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
Exception which may be thrown by the
Setup
model.- See Also:
-
Constructor Summary
ConstructorDescriptionSetupException
(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
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SetupException
Creates a newSetupException
with the providedLocalizableMessage
.- Parameters:
message
- The exception message
-
SetupException
Creates a newSetupException
with the providedThrowable
cause.- Parameters:
cause
- The exception cause
-
SetupException
- Parameters:
message
- The exception messagecause
- The exception cause
-
-
Method Details
-
getMessageObject
Returns theLocalizableMessage
attached to this exception.- Specified by:
getMessageObject
in interfaceLocalizableException
- Returns:
- the
LocalizableMessage
attached to this exception.
-