Class ValidatorException

    • Constructor Detail

      • ValidatorException

        public ValidatorException​(String message,
                                  Collection<Failure> failures)
        Constructs a new exception with the specified detail message.
        Parameters:
        message - The message
        failures - collection of failures
      • ValidatorException

        public ValidatorException​(String message,
                                  Collection<Failure> failures,
                                  Throwable cause)
        Constructs a new exception with the specified detail message.
        Parameters:
        message - The message
        failures - collection of failures
        cause - the cause to be chained
    • Method Detail

      • getFailures

        public Collection<Failure> getFailures()
        Get the collection of failures
        Returns:
        failures