com.github.fge.jsonschema.core.report
Class SimpleExceptionProvider

java.lang.Object
  extended by com.github.fge.jsonschema.core.report.SimpleExceptionProvider
All Implemented Interfaces:
ExceptionProvider

public final class SimpleExceptionProvider
extends Object
implements ExceptionProvider

An ExceptionProvider providing ProcessingException instances


Method Summary
 ProcessingException doException(ProcessingMessage message)
          Return an exception associated with a message
static ExceptionProvider getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ExceptionProvider getInstance()

doException

public ProcessingException doException(ProcessingMessage message)
Description copied from interface: ExceptionProvider
Return an exception associated with a message

Specified by:
doException in interface ExceptionProvider
Parameters:
message - the message
Returns:
the appropriate exception