Class EoFStringLengthJsonParseException

All Implemented Interfaces:
Serializable

public class EoFStringLengthJsonParseException extends EoFStringJsonParseException
Thrown when a string value is shorter or longer than permitted.
See Also:
  • Constructor Details

    • EoFStringLengthJsonParseException

      public EoFStringLengthJsonParseException(@Nullable Integer minLength, @Nullable Integer maxLength)
      Create an EoFStringLengthJsonParseException.
      Parameters:
      minLength - The minimum string length.
      maxLength - The maximum string length.
  • Method Details

    • getMaxLength

      public int getMaxLength()
      Get the maximum string length.
      Returns:
      The maximum string length.
    • getMinLength

      public int getMinLength()
      Get the minimum string length.
      Returns:
      The minimum string length.
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class EoFJsonParseException