MalformedJsonException (Gson 2.3.1 API)
Date: 2014-11-20

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.stream
Class MalformedJsonException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.io.IOException
                  com.google.gson.stream.MalformedJsonException

All Implemented Interfaces:
  Serializable

    public final class MalformedJsonException

extends IOException

Thrown when a reader encounters malformed JSON. Some syntax errors can be ignored by calling `JsonReader.setLenient(boolean)`.

See Also:
  Serialized Form

Constructor Summary
`MalformedJsonException(String msg)`
`MalformedJsonException(String msg, Throwable throwable)`
`MalformedJsonException(Throwable throwable)`

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

### MalformedJsonException

    public MalformedJsonException(String msg)

### MalformedJsonException

    public MalformedJsonException(String msg,
                                  Throwable throwable)

### MalformedJsonException

    public MalformedJsonException(Throwable throwable)

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.