Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.fluxcapacitor.javaclient.common.exception.FunctionalException
io.fluxcapacitor.javaclient.tracking.handling.validation.ValidationException
- All Implemented Interfaces:
Serializable
Indicates that a request (typically a command or query) contains one or more field-level violations that prevent
further processing.
The violations
set contains a sorted list of human-readable violation messages.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ValidationException
@ConstructorProperties({"message","violations"}) public ValidationException(String message, Set<String> violations)
-