Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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:
  Serializable

    public final class JsonIOException

extends JsonParseException

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

Author:
  Inderjeet Singh, Joel Leitch
See Also:
  Serialized Form

Constructor Summary
`JsonIOException(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
`fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### JsonIOException

    public JsonIOException(String msg)

### JsonIOException

    public JsonIOException(String msg,
                           Throwable cause)

### JsonIOException

    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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008–2014 Google, Inc.. All rights reserved.