java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.lemminx.customservice.synapse.schemagen.json.JSONException
All Implemented Interfaces:
Serializable

public class JSONException extends RuntimeException
The JSONException is thrown by the JSON.org classes when things are amiss.
Version:
2014-05-03
Author:
JSON.org
See Also:
  • Constructor Details

    • JSONException

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

      public JSONException(Throwable cause)
      Constructs a new JSONException with the specified cause.
      Parameters:
      cause - The cause.
  • Method Details

    • 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.