Package akka.http.javadsl.server
Interface ValidationRejection
-
- All Superinterfaces:
Rejection
- All Known Implementing Classes:
ValidationRejection
public interface ValidationRejection extends Rejection
Rejection created by thevalidationdirective as well as forIllegalArgumentExceptionsthrown 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.Stringmessage()
-