GroupDefinitionException class
Thrown when a group sequence is defined wrongly: a cycle, Default in
a class's @GroupSequence, the class missing from it, or Default as
a key of BeanValidator.groupSequences. Jakarta's
GroupDefinitionException.
// @GroupSequence([Default, Strict]) class Form { ... }
validator.validateObject(form); // throws GroupDefinitionException
Spring (Java):
} catch (jakarta.validation.GroupDefinitionException e) { ... }
- Inheritance
-
- Object
- ValidationException
- GroupDefinitionException
Constructors
- GroupDefinitionException(String message)
-
An exception explaining the wrong definition in
message.const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited