- 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 callingJsonReader.setLenient(boolean)
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MalformedJsonException(String msg)
MalformedJsonException(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
-
-