public interface ValidationRejection extends Rejection
validation
directive as well as for IllegalArgumentExceptions
thrown by domain model constructors (e.g. via require
).
It signals that an expected value was semantically invalid.Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.lang.Throwable> |
getCause() |
java.lang.String |
message() |