Module is.codion.framework.domain
Class RangeValidationException
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.RangeValidationException
- All Implemented Interfaces:
Serializable
An exception used to indicate that a value associated with
a key which not fall within the allowed range of values.
- See Also:
-
Constructor Summary
ConstructorDescriptionRangeValidationException
(Attribute<?> attribute, Object value, String message) Instantiates a new RangeValidationException -
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
-
RangeValidationException
Instantiates a new RangeValidationException- Parameters:
attribute
- the attributevalue
- the value that is out of rangemessage
- the message
-