Class ValidatorException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jboss.jca.validator.ValidatorException
All Implemented Interfaces:
Serializable

public class ValidatorException extends Exception
Represents a failure in the validator chain
Author:
Stefano Maestri
See Also:
  • Constructor Details

    • 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 Details

    • getFailures

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