java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.gson.JsonParseException
com.google.gson.JsonIOException
- All Implemented Interfaces:
Serializable
This exception is raised when Gson was unable to read an input stream
or write to one.
- Author:
- Inderjeet Singh, Joel Leitch
- See Also:
-
Constructor Summary
ConstructorDescriptionJsonIOException
(String msg) JsonIOException
(String msg, Throwable cause) JsonIOException
(Throwable cause) Creates exception with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JsonIOException
-
JsonIOException
-
JsonIOException
Creates exception with the specified cause. Consider usingJsonIOException(String, Throwable)
instead if you can describe what happened.- Parameters:
cause
- root exception that caused this exception to be thrown.
-