Package org.opends.quicksetup
Class UserDataException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.opends.server.types.OpenDsException
-
- org.opends.quicksetup.UserDataException
-
- All Implemented Interfaces:
Serializable,org.forgerock.i18n.LocalizableException
- Direct Known Subclasses:
UserDataCertificateException,UserDataConfirmationException
public class UserDataException extends OpenDsException
This exception is used when there is an error with the data provided by the user. It will be thrown by the class that is in charge of validating the user data (the Application class).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserDataException(WizardStep step, org.forgerock.i18n.LocalizableMessage message)Constructor for UserDataException.UserDataException(WizardStep step, org.forgerock.i18n.LocalizableMessage message, Throwable t)Constructor for UserDataException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WizardStepgetStep()Returns the step of the wizard in which this exception occurred.-
Methods inherited from class org.opends.server.types.OpenDsException
getMessageObject
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UserDataException
public UserDataException(WizardStep step, org.forgerock.i18n.LocalizableMessage message)
Constructor for UserDataException.- Parameters:
step- the step in the wizard where the exception occurred.message- the localized message describing the error.
-
UserDataException
public UserDataException(WizardStep step, org.forgerock.i18n.LocalizableMessage message, Throwable t)
Constructor for UserDataException.- Parameters:
step- the step in the wizard where the exception occurred.message- the localized message describing the error.t- the Exception that generated this exception.
-
-
Method Detail
-
getStep
public WizardStep getStep()
Returns the step of the wizard in which this exception occurred.- Returns:
- the step of the wizard in which this exception occurred.
-
-