Package io.avaje.jsonb
Class JsonException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.avaje.jsonb.JsonException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JsonDataException
,JsonIoException
public class JsonException extends RuntimeException
Thrown when the data being parsed is not encoded as valid JSON, method invocation fails for json views, or and underlying IOException occurs.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonException(String message)
JsonException(String message, Throwable cause)
JsonException(Throwable exception)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JsonException
of(Throwable e)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-