Class MethodNotFoundJsonMappingException
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
org.a2aproject.sdk.jsonrpc.common.json.MethodNotFoundJsonMappingException
- All Implemented Interfaces:
Serializable
Exception thrown when JSON mapping fails due to a method not found error.
This exception is used during JSON-RPC request deserialization when the requested
method cannot be found or mapped. It extends IdJsonMappingException to
preserve the request ID for error responses.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs exception with message and request ID.MethodNotFoundJsonMappingException(String msg, Throwable cause, Object id) Constructs exception with message, cause, and request ID. -
Method Summary
Methods inherited from class org.a2aproject.sdk.jsonrpc.common.json.IdJsonMappingException
getIdMethods 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
-
MethodNotFoundJsonMappingException
Constructs exception with message and request ID.- Parameters:
msg- the error messageid- the JSON-RPC request ID
-
MethodNotFoundJsonMappingException
Constructs exception with message, cause, and request ID.- Parameters:
msg- the error messagecause- the underlying causeid- the JSON-RPC request ID
-