Class ValidationException

  • All Implemented Interfaces:
    Serializable

    public class ValidationException
    extends CamelExchangeException
    The base class for any validation exception, such as org.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 Detail

      • ValidationException

        public ValidationException​(Exchange exchange,
                                   String message)