Package com.blackrook.json
Class JSONConversionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.blackrook.json.JSONConversionException
- All Implemented Interfaces:
Serializable
JSON conversion exception, thrown when a
JSONConverter
fails.- Author:
- Matthew Tropiano
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a new exception.JSONConversionException
(String message) Creates a new exception.JSONConversionException
(String message, Throwable exception) Creates a new exception with a message.JSONConversionException
(Throwable exception) Creates a new exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JSONConversionException
public JSONConversionException()Creates a new exception. -
JSONConversionException
Creates a new exception.- Parameters:
message
- the exception message.
-
JSONConversionException
Creates a new exception.- Parameters:
exception
- the exception that caused this one, if any.
-
JSONConversionException
Creates a new exception with a message.- Parameters:
message
- the exception message.exception
- the exception that caused this one, if any.
-