Package 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:
java.io.Serializable
public final class MalformedJsonException extends java.io.IOException
Thrown when a reader encounters malformed JSON. Some syntax errors can be ignored by callingJsonReader.setLenient(boolean)
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MalformedJsonException(java.lang.String msg)
MalformedJsonException(java.lang.String msg, java.lang.Throwable throwable)
MalformedJsonException(java.lang.Throwable throwable)
-