Package com.github.fge.jsonschema.core.exceptions

Exceptions and exception provider

See:
          Description

Interface Summary
ExceptionProvider An exception provider for a ProcessingMessage
 

Exception Summary
InvalidSchemaException Exception thrown by the validation process when a JSON Schema is invalid
JsonReferenceException Exception associated with all JSON Reference exceptions
ProcessingException Generic processing exception
 

Package com.github.fge.jsonschema.core.exceptions Description

Exceptions and exception provider

This package contains checked exceptions raised by the API core. The base exception is ProcessingException and all other exceptions, save for unchecked exceptions, inherit it.

The ExceptionProvider interface can be used by your own custom processors to set custom exceptions in messages: ProcessingMessage accepts such a provider and will then return the appropriate exception when its ProcessingMessage.asException() is called.