Class JsonException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JsonBindingException

public class JsonException extends RuntimeException
Exception thrown during JSON processing operations.

This exception is used to signal errors that occur during JSON parsing, serialization, or other JSON-related operations.

See Also:
  • Constructor Details

    • JsonException

      public JsonException(String message)
      Construct a new JsonException with the specified detail message.
      Parameters:
      message - the detail message
    • JsonException

      public JsonException(String message, Exception cause)
      Construct a new JsonException with the specified detail message and cause.
      Parameters:
      message - the detail message
      cause - the cause