Class JsonProcessingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.alejo2075.enzonasdk.exception.JsonProcessingException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionJsonProcessingException(String message) Constructs a new JsonProcessingException with the specified detail message.JsonProcessingException(String message, Throwable cause) Constructs a new JsonProcessingException with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JsonProcessingException
Constructs a new JsonProcessingException with the specified detail message.- Parameters:
message- the detail message, saved for later retrieval by the getMessage() method
-
JsonProcessingException
Constructs a new JsonProcessingException with the specified detail message and cause.- Parameters:
message- the detail message, saved for later retrieval by the getMessage() methodcause- the cause, saved for later retrieval by the getCause() method, which may be null indicating the cause is nonexistent or unknown
-