public final class


extends JsonParseException
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException

Class Overview

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


Public Constructors
JsonIOException(String msg)
JsonIOException(String msg, Throwable cause)
JsonIOException(Throwable cause)
Creates exception with the specified cause.
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.

cause root exception that caused this exception to be thrown.