org.apache.camel
Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.camel.CamelException
org.apache.camel.CamelExchangeException
org.apache.camel.ValidationException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- NoXmlBodyValidationException, SchemaValidationException
public class ValidationException
- extends CamelExchangeException
The base class for any validation exception, such as
SchemaValidationException
so
that it is easy to treat all validation errors in a similar way irrespective
of the particular validation technology used.
- Version:
- $Revision: 642272 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ValidationException
public ValidationException(Exchange exchange,
String message)
ValidationException
public ValidationException(String message,
Exchange exchange,
Throwable cause)
Apache CAMEL