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:
Serializable
Thrown when a reader encounters malformed JSON. Some syntax errors can be ignored by using
Strictness.LENIENT
for JsonReader.setStrictness(Strictness)
.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMalformedJsonException
(String msg, Throwable throwable) MalformedJsonException
(Throwable throwable) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
MalformedJsonException
-
MalformedJsonException
-
MalformedJsonException
-