Class Json5Exception

  • All Implemented Interfaces:
    java.io.Serializable

    public class Json5Exception
    extends java.lang.RuntimeException
    Describes exceptions which occur during json5 parsing and serialization.
    See Also:
    Serialized Form
    • Constructor Summary

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

      • Json5Exception

        public Json5Exception()
        Constructs a new JSONException
      • Json5Exception

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

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

        public Json5Exception​(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