Class RequestValidationException

All Implemented Interfaces:
CoreExceptionFormat, Serializable

public class RequestValidationException extends CoreRuntimeException
Throw when a request has error validation.
See Also:
Serialized Form
  • Constructor Details

    • RequestValidationException

      public RequestValidationException(String message)
      message - the error message that caused validation error.
  • Method Details

    • lengthError

      public static RequestValidationException lengthError(ValidatorSettings settings, int length)
      Thrown when input validation fails due to length constraint.
      settings - the settings object for the validation that failed.
      length - the actual length of the input.
      a new exception object.