Module is.codion.framework.domain
Class NullValidationException
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.NullValidationException
- All Implemented Interfaces:
Serializable
An exception used to indicate that a null value was being associated with
a key which does not allow null values.
- See Also:
-
Constructor Summary
ConstructorDescriptionNullValidationException
(Attribute<?> attribute, String message) Instantiates a new NullValidationException -
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
-
NullValidationException
Instantiates a new NullValidationException- Parameters:
attribute
- the attribute with which the null value is associatedmessage
- the message
-