Class MandatoryViolationException

All Implemented Interfaces:
Serializable

public final class MandatoryViolationException extends ConstraintViolationException
Signals, that an attempt to write an field has been failed, because it cannot be written with a null value. This exception will be thrown by Item.set and item constructors if that field is mandatory.

This exception is also thrown for empty strings if Model.supportsEmptyStrings() is false.

Author:
Ralf Wiebicke
See Also: