Class SimplifiedJsonTokener.SimplifiedJsonException

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    SimplifiedJsonTokener

    public class SimplifiedJsonTokener.SimplifiedJsonException
    extends Exception
    The JSONException is thrown by the JSON.org classes when things are amiss.
    Version:
    2013-02-10
    Author:
    JSON.org
    See Also:
    Serialized Form
    • Constructor Detail

      • SimplifiedJsonException

        public SimplifiedJsonException​(String message)
        Constructs a JSONException with an explanatory message.
        Parameters:
        message - Detail about the reason for the exception.
      • SimplifiedJsonException

        public SimplifiedJsonException​(Throwable cause)
        Constructs a new JSONException with the specified cause.
        Parameters:
        cause - the cause of this exception
    • Method Detail

      • getCause

        public Throwable getCause()
        Returns the cause of this exception or null if the cause is nonexistent or unknown.
        Overrides:
        getCause in class Throwable
        Returns:
        the cause of this exception or null if the cause is nonexistent or unknown.