Class IdJsonMappingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.a2aproject.sdk.jsonrpc.common.json.JsonProcessingException
org.a2aproject.sdk.jsonrpc.common.json.JsonMappingException
org.a2aproject.sdk.jsonrpc.common.json.IdJsonMappingException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidParamsJsonMappingException,MethodNotFoundJsonMappingException
JSON mapping exception that includes request ID for error tracking.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIdJsonMappingException(String msg, Object id) Constructs exception with message and ID.IdJsonMappingException(String msg, Throwable cause, Object id) Constructs exception with message, cause, and ID. -
Method Summary
Methods inherited from class org.a2aproject.sdk.jsonrpc.common.json.JsonMappingException
getReferenceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IdJsonMappingException
Constructs exception with message and ID.- Parameters:
msg- the error messageid- the request ID
-
IdJsonMappingException
Constructs exception with message, cause, and ID.- Parameters:
msg- the error messagecause- the causeid- the request ID
-
-
Method Details
-
getId
Gets the request ID associated with this exception.- Returns:
- the request ID
-