com.google.gson.stream
Class MalformedJsonException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by 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)


Copyright © 2008-2012 Google, Inc.. All Rights Reserved.