Package org.jboss.jca.validator
Class ValidatorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jboss.jca.validator.ValidatorException
- All Implemented Interfaces:
Serializable
Represents a failure in the validator chain
- Author:
- Stefano Maestri
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionValidatorException(String message, Collection<Failure> failures) Constructs a new exception with the specified detail message.ValidatorException(String message, Collection<Failure> failures, Throwable cause) Constructs a new exception with the specified detail message. -
Method Summary
Modifier and TypeMethodDescriptionGet the collection of failuresMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ValidatorException
Constructs a new exception with the specified detail message.- Parameters:
message- The messagefailures- collection of failures
-
ValidatorException
Constructs a new exception with the specified detail message.- Parameters:
message- The messagefailures- collection of failurescause- the cause to be chained
-
-
Method Details
-
getFailures
Get the collection of failures- Returns:
- failures
-