Class ValidationException

All Implemented Interfaces:
Serializable

@Incubating(since="1.5.0") public class ValidationException extends IllegalStateException
Turns a set of Validated.Invalid into a throwable exception, which is used to throw an unchecked exception at runtime when one or more properties are invalid.
Since:
1.5.0
See Also:
  • Constructor Details

    • ValidationException

      public ValidationException(Validated<?> validation)
  • Method Details

    • getValidation

      public Validated<?> getValidation()