org.jboss.jca.validator
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:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ValidatorException
public ValidatorException(String message,
Collection<Failure> failures)
- Constructs a new exception with the specified detail message.
- Parameters:
message - The messagefailures - 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 messagefailures - collection of failurescause - the cause to be chained
getFailures
public Collection<Failure> getFailures()
- Get the collection of failures
- Returns:
- failures
Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)