Module is.codion.framework.domain
Interface ValidationException.InvalidAttribute
- Enclosing class:
ValidationException
public static interface ValidationException.InvalidAttribute
Specifies an invalid attribute value
-
Method Summary
-
Method Details
-
attribute
Attribute<?> attribute()- Returns:
- the attribute
-
value
- Returns:
- the invalid value
-
message
String message()- Returns:
- the message
-
invalidAttribute
static ValidationException.InvalidAttribute invalidAttribute(Attribute<?> attribute, @Nullable Object value, String message) - Parameters:
attribute- the attributevalue- the invalid valuemessage- the message- Returns:
- a new
ValidationException.InvalidAttributeinstance
-