Class EoFStringLengthJsonParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.woftnw.eof.exception.parse.EoFJsonParseException
org.woftnw.eof.exception.parse.string.EoFStringJsonParseException
org.woftnw.eof.exception.parse.string.EoFStringLengthJsonParseException
- All Implemented Interfaces:
Serializable
Thrown when a string value is shorter or longer than permitted.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEoFStringLengthJsonParseException(@Nullable Integer minLength, @Nullable Integer maxLength) Create an EoFStringLengthJsonParseException. -
Method Summary
Modifier and TypeMethodDescriptionintGet the maximum string length.intGet the minimum string length.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EoFStringLengthJsonParseException
-
-
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
- Overrides:
getMessagein classEoFJsonParseException
-