Interface ValidationRejection

  • All Superinterfaces:
    Rejection
    All Known Implementing Classes:
    ValidationRejection

    public interface ValidationRejection
    extends Rejection
    Rejection created by the 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.
    • Method Detail

      • getCause

        java.util.Optional<java.lang.Throwable> getCause()
      • message

        java.lang.String message()