Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.fluxzero.sdk.common.exception.FunctionalException
io.fluxzero.sdk.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.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordString-only validation failure summary for serialized validation responses. -
Constructor Summary
ConstructorsConstructorDescriptionValidationException(String message, Set<String> violations) ValidationException(String message, Set<String> violations, List<ValidationException.ViolationSummary> violationSummaries) -
Method Summary
Methods inherited from class FunctionalException
equals, hashCodeMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ValidationException
-
ValidationException
@ConstructorProperties({"message","violations","violationSummaries"}) public ValidationException(String message, Set<String> violations, List<ValidationException.ViolationSummary> violationSummaries)
-