Class JsonValidationException

  • All Implemented Interfaces:
    Serializable

    public class JsonValidationException
    extends org.apache.camel.ValidationException
    See Also:
    Serialized Form
    • Constructor Detail

      • 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 Detail

      • getSchema

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

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

        public int getNumberOfErrors()