Module is.codion.framework.domain
Class LengthValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
is.codion.framework.domain.entity.exception.ValidationException
is.codion.framework.domain.entity.exception.LengthValidationException
- All Implemented Interfaces:
Serializable
An exception used to indicate that a value associated with a key exceeds the allowed length.
- See Also:
-
Constructor Summary
ConstructorDescriptionLengthValidationException
(Attribute<?> attribute, Object value, String message) Instantiates a new LengthValidationException -
Method Summary
Methods inherited from class is.codion.framework.domain.entity.exception.ValidationException
attribute, value
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LengthValidationException
Instantiates a new LengthValidationException- Parameters:
attribute
- the attributevalue
- the value that exceeds the allowed lengthmessage
- the message
-