public final class

JsonIOException

extends JsonParseException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.google.gson.JsonParseException
           ↳ com.google.gson.JsonIOException

Class Overview

This exception is raised when Gson was unable to read an input stream or write to one.

Summary

Public Constructors
JsonIOException(String msg)
JsonIOException(String msg, Throwable cause)
JsonIOException(Throwable cause)
Creates exception with the specified cause.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public JsonIOException (String msg)

public JsonIOException (String msg, Throwable cause)

public JsonIOException (Throwable cause)

Creates exception with the specified cause. Consider using JsonIOException(String, Throwable) instead if you can describe what happened.

Parameters
cause root exception that caused this exception to be thrown.