Module json5

Class JSONException

  • All Implemented Interfaces:
    Serializable

    public class JSONException
    extends 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 Detail

      • JSONException

        public JSONException()
        Constructs a new JSONException
      • JSONException

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

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

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