Package io.jmix.flowui.exception
Class CompositeValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.jmix.flowui.exception.ValidationException
io.jmix.flowui.exception.CompositeValidationException
- All Implemented Interfaces:
Serializable
A specialized
ValidationException used to represent a collection
of individual validation violations. This exception encapsulates multiple
causes of validation failure, enabling detailed reporting of all issues
encountered during the validation process.
The CompositeValidationException holds a list of CompositeValidationException.ViolationCause,
each of which provides information about a specific validation error.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceRepresents a cause of a validation violation, providing detailed information about a specific validation error.Nested classes/interfaces inherited from class io.jmix.flowui.exception.ValidationException
ValidationException.HasRelatedComponent -
Constructor Summary
ConstructorsConstructorDescriptionCompositeValidationException(String message, List<CompositeValidationException.ViolationCause> causes) -
Method Summary
Modifier and TypeMethodDescriptionReturns the detailed message associated with this exception instance.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CompositeValidationException
public CompositeValidationException(String message, List<CompositeValidationException.ViolationCause> causes)
-
-
Method Details
-
getCauses
-
getDetailsMessage
Description copied from class:ValidationExceptionReturns the detailed message associated with this exception instance.- Overrides:
getDetailsMessagein classValidationException- Returns:
- the localized message of the exception
-