Module is.codion.framework.domain
Class ItemValidationException
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.ItemValidationException
- All Implemented Interfaces:
Serializable
An exception used to indicate that an item value is invalid.
- See Also:
-
Constructor Summary
ConstructorDescriptionItemValidationException
(Attribute<?> attribute, Object value, String message) Instantiates a new ItemValidationException. -
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
-
ItemValidationException
Instantiates a new ItemValidationException.- Parameters:
attribute
- the attribute of the value being validatedvalue
- the valuemessage
- the exception message
-