Package 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
public class ValidationException extends CamelExchangeException
The base class for any validation exception, such asorg.apache.camel.processor.validation.SchemaValidationException
so that it is easy to treat all validation errors in a similar way irrespective of the particular validation technology used.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidationException(String message, Exchange exchange, Throwable cause)
ValidationException(Exchange exchange, String message)
-
Method Summary
-
Methods inherited from class org.apache.camel.CamelExchangeException
createExceptionMessage, getExchange
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-