Class JsonProcessingException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.alejo2075.enzonasdk.exception.JsonProcessingException
All Implemented Interfaces:
Serializable

public class JsonProcessingException extends RuntimeException
Custom exception class for handling JSON processing errors. This class extends RuntimeException and is used to indicate errors in JSON serialization and deserialization processes.

This exception can be thrown when the JSON processing in JsonUtil fails due to invalid JSON, schema mismatches, etc.

See Also:
  • Constructor Details

    • JsonProcessingException

      public JsonProcessingException(String message)
      Constructs a new JsonProcessingException with the specified detail message.
      Parameters:
      message - the detail message, saved for later retrieval by the getMessage() method
    • JsonProcessingException

      public JsonProcessingException(String message, Throwable cause)
      Constructs a new JsonProcessingException with the specified detail message and cause.
      Parameters:
      message - the detail message, saved for later retrieval by the getMessage() method
      cause - the cause, saved for later retrieval by the getCause() method, which may be null indicating the cause is nonexistent or unknown