Class 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 calling JsonReader.setLenient(boolean).
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MalformedJsonException

        public MalformedJsonException​(java.lang.String msg)
      • MalformedJsonException

        public MalformedJsonException​(java.lang.String msg,
                                      java.lang.Throwable throwable)
      • MalformedJsonException

        public MalformedJsonException​(java.lang.Throwable throwable)