Module json5

Class JSONException

  • All Implemented Interfaces:
    java.io.Serializable

    public class JSONException
    extends java.lang.RuntimeException
    An exception used by the JSON5 for Java Library if something went wrong
    Version:
    1.0.0
    Author:
    SyntaxError404
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      JSONException()
      Constructs a new JSONException
      JSONException​(java.lang.String message)
      Constructs a new JSONException with a detail message
      JSONException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a new JSONException with a detail message and a causing exception
      JSONException​(java.lang.Throwable cause)
      Constructs a new JSONException with a causing exception
    • 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

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

      • JSONException

        public JSONException()
        Constructs a new JSONException
      • JSONException

        public JSONException​(java.lang.String message)
        Constructs a new JSONException with a detail message
        Parameters:
        message - the detail message
      • JSONException

        public JSONException​(java.lang.Throwable cause)
        Constructs a new JSONException with a causing exception
        Parameters:
        cause - the causing exception
      • JSONException

        public JSONException​(java.lang.String message,
                             java.lang.Throwable cause)
        Constructs a new JSONException with a detail message and a causing exception
        Parameters:
        message - the detail message
        cause - the causing exception