Class FieldValidationException

All Implemented Interfaces:
Serializable

public class FieldValidationException extends FieldException
An unchecked exception for when there is a problem validating a field.
See Also:
  • Constructor Details

    • FieldValidationException

      public FieldValidationException(String fieldName, Enum<?> errorCode, String errorText)
      Parameters:
      fieldName - the name of the field
      errorCode - the error code
      errorText - the error text
  • Method Details

    • getErrorCode

      public Enum<?> getErrorCode()
      Get the error code.
      Returns:
      the error code
    • getErrorText

      public String getErrorText()
      Get the error text.
      Returns:
      the error text
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class FieldException