Class JsonValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.camel.CamelException
org.apache.camel.CamelExchangeException
org.apache.camel.ValidationException
org.apache.camel.component.jsonvalidator.JsonValidationException
All Implemented Interfaces:
Serializable

public class JsonValidationException extends org.apache.camel.ValidationException
See Also:
  • Constructor Details

    • JsonValidationException

      public JsonValidationException(org.apache.camel.Exchange exchange, com.networknt.schema.JsonSchema schema, Set<com.networknt.schema.ValidationMessage> errors)
    • JsonValidationException

      public JsonValidationException(org.apache.camel.Exchange exchange, com.networknt.schema.JsonSchema schema, Exception e)
  • Method Details

    • getSchema

      public com.networknt.schema.JsonSchema getSchema()
    • getErrors

      public Set<com.networknt.schema.ValidationMessage> getErrors()
    • getNumberOfErrors

      public int getNumberOfErrors()