com.github.fge.jsonschema.core.exceptions
Class ProcessingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.github.fge.jsonschema.core.exceptions.ProcessingException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidSchemaException, JsonReferenceException

public class ProcessingException
extends Exception

Generic processing exception

Internally, this class always keeps its information in a ProcessingMessage. Note that all messages see their log level set to LogLevel.FATAL.

See Also:
ProcessingMessage, LogLevel, Serialized Form

Constructor Summary
ProcessingException()
           
ProcessingException(ProcessingMessage message)
           
ProcessingException(ProcessingMessage message, Throwable e)
           
ProcessingException(String message)
           
ProcessingException(String message, Throwable e)
           
 
Method Summary
 String getMessage()
           
 ProcessingMessage getProcessingMessage()
           
 String getShortMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessingException

public ProcessingException()

ProcessingException

public ProcessingException(String message)

ProcessingException

public ProcessingException(ProcessingMessage message)

ProcessingException

public ProcessingException(String message,
                           Throwable e)

ProcessingException

public ProcessingException(ProcessingMessage message,
                           Throwable e)
Method Detail

getMessage

public final String getMessage()
Overrides:
getMessage in class Throwable

getShortMessage

public final String getShortMessage()

getProcessingMessage

public final ProcessingMessage getProcessingMessage()