Class JSONException

All Implemented Interfaces:
Serializable

This class defines an exception that can be thrown if a problem occurs while performing JSON processing.
See Also:
  • Constructor Details

    • JSONException

      public JSONException(@NotNull String message)
      Creates a new JSON exception with the provided message.
      Parameters:
      message - A message explaining the problem that occurred.
    • JSONException

      public JSONException(@NotNull String message, @Nullable Throwable cause)
      Creates a new JSON exception with the provided message and cause.
      Parameters:
      message - A message explaining the problem that occurred.
      cause - The underlying cause for this exception.