Class ParameterValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.shell.ParameterValidationException
All Implemented Interfaces:
Serializable

public class ParameterValidationException extends RuntimeException
Thrown when one or more parameters fail bean validation constraints.
See Also:
  • Constructor Details

    • ParameterValidationException

      public ParameterValidationException(Set<jakarta.validation.ConstraintViolation<Object>> constraintViolations)
  • Method Details

    • getConstraintViolations

      public Set<jakarta.validation.ConstraintViolation<Object>> getConstraintViolations()