Package akka.http.javadsl.server
Interface ValidationRejection
-
- All Superinterfaces:
Rejection
- All Known Implementing Classes:
ValidationRejection
public interface ValidationRejection extends Rejection
Rejection created by thevalidation
directive as well as forIllegalArgumentExceptions
thrown by domain model constructors (e.g. viarequire
). It signals that an expected value was semantically invalid.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<java.lang.Throwable>
getCause()
java.lang.String
message()
-