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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonValidationException(org.apache.camel.Exchange exchange, com.networknt.schema.JsonSchema schema, Exception e)
JsonValidationException(org.apache.camel.Exchange exchange, com.networknt.schema.JsonSchema schema, Set<com.networknt.schema.ValidationMessage> errors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<com.networknt.schema.ValidationMessage>
getErrors()
int
getNumberOfErrors()
com.networknt.schema.JsonSchema
getSchema()
-
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 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()
-
-