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 theSetupmodel.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SetupException(Throwable cause)Creates a newSetupExceptionwith the providedThrowablecause.SetupException(LocalizableMessage message)Creates a newSetupExceptionwith the providedLocalizableMessage.SetupException(LocalizableMessage message, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalizableMessagegetMessageObject()Returns theLocalizableMessageattached 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 newSetupExceptionwith the providedLocalizableMessage.- Parameters:
message- The exception message
-
SetupException
public SetupException(Throwable cause)
Creates a newSetupExceptionwith the providedThrowablecause.- 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 theLocalizableMessageattached to this exception.- Specified by:
getMessageObjectin interfaceLocalizableException- Returns:
- the
LocalizableMessageattached to this exception.
-
-