Top Description Fields Constructors
com.google.gson

public final Class JsonIOException

extends JsonParseException
Class Inheritance
Annotations
@SuppressWarnings:MemberName

This exception is raised when Gson was unable to read an input stream or write to one.
Authors
Inderjeet Singh, Joel Leitch

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
public
public
JsonIOException(Throwable
root exception that caused this exception to be thrown.
cause
)

Creates exception with the specified cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.google.gson.JsonParseException.serialVersionUID.

Constructor Detail

JsonIOExceptionback to summary
public JsonIOException(String msg)
JsonIOExceptionback to summary
public JsonIOException(String msg, Throwable cause)
JsonIOExceptionback to summary
public JsonIOException(Throwable cause)

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

Parameters
cause:Throwable

root exception that caused this exception to be thrown.