com.github.fge.jsonschema.core.report
Class SimpleExceptionProvider
java.lang.Object
com.github.fge.jsonschema.core.report.SimpleExceptionProvider
- All Implemented Interfaces:
- ExceptionProvider
public final class SimpleExceptionProvider
- extends Object
- implements ExceptionProvider
An ExceptionProvider providing ProcessingException instances
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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