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

Constructors

GroupDefinitionException(String message)
An exception explaining the wrong definition in message.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
message → String
What is wrong and where, for the developer.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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