Class ValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.sourceid.saml20.adapter.gui.validation.ValidationException
All Implemented Interfaces:
Serializable

public class ValidationException extends Exception
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.
See Also:
  • Constructor Details

    • ValidationException

      public ValidationException(String errorMessage)
      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

      public ValidationException(List<String> errorMessages)
      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

      public List<String> getErrorMessages()
      Gets the validation error messages.
      Returns:
      the error messages as a List of Strings.
    • getMessage

      public String getMessage()
      Returns the detail message.
      Overrides:
      getMessage in class Throwable
      Returns:
      the error messages.