Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.sourceid.saml20.adapter.gui.validation.ValidationException
- All Implemented Interfaces:
Serializable
An exception to be thrown by validators to communicate to the PingFederate server that
invalid configuration values have been entered into the GUI by the user.
-
Constructor Summary
ConstructorsConstructorDescriptionValidationException(String errorMessage) Create a new ValidationException with the specified validation error message.ValidationException(List<String> errorMessages) Create a new ValidationException with the specified validation error messages. -
Method Summary
Modifier and TypeMethodDescriptionGets the validation error messages.Returns the detail message.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ValidationException
Create a new ValidationException with the specified validation error message. The error message will be displayed in the GUI to the user.- Parameters:
errorMessage- the error message to display to the user.
-
ValidationException
Create a new ValidationException with the specified validation error messages. The error messages will be displayed in the GUI to the user.- Parameters:
errorMessages-
-
-
Method Details
-
getErrorMessages
Gets the validation error messages.- Returns:
- the error messages as a List of Strings.
-
getMessage
Returns the detail message.- Overrides:
getMessagein classThrowable- Returns:
- the error messages.
-