Package com.google.gson
Class JsonIOException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.google.gson.JsonParseException
-
- com.google.gson.JsonIOException
-
- All Implemented Interfaces:
java.io.Serializable
public final class JsonIOException extends JsonParseException
This exception is raised when Gson was unable to read an input stream or write to one.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonIOException(java.lang.String msg)
JsonIOException(java.lang.String msg, java.lang.Throwable cause)
JsonIOException(java.lang.Throwable cause)
Creates exception with the specified cause.
-
-
-
Constructor Detail
-
JsonIOException
public JsonIOException(java.lang.String msg)
-
JsonIOException
public JsonIOException(java.lang.String msg, java.lang.Throwable cause)
-
JsonIOException
public JsonIOException(java.lang.Throwable cause)
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.
-
-