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
The base class for any validation exception, such as
so that it is easy to treat all
validation errors in a similar way irrespective of the particular validation technology used.
invalid reference
org.apache.camel.support.processor.validation.SchemaValidationException
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionValidationException
(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
-
Constructor Details
-
ValidationException
-
ValidationException
-