@KwrkImmutable @CompileStatic class ViolationInfo extends Object implements PostMapConstructorCheckable
Defines an immutable data structure that describes the reason for the DomainException
exception.
Type | Name and description |
---|---|
static ViolationInfo |
BAD_REQUEST |
static ViolationInfo |
NOT_FOUND |
static ViolationInfo |
UNKNOWN |
Severity |
severity |
ViolationCode |
violationCode |
Constructor and description |
---|
ViolationInfo() |
Type Params | Return Type | Name and description |
---|---|---|
|
static ViolationInfo |
makeForBadRequestWithCustomCodeKey(String customResolvableMessageKey, List<String> customResolvableMessageParameters) |
|
void |
postMapConstructorCheck(Map<String, ?> constructorArguments) |
Groovy Documentation