Class IdJsonMappingException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidParamsJsonMappingException, MethodNotFoundJsonMappingException

public class IdJsonMappingException extends JsonMappingException
JSON mapping exception that includes request ID for error tracking.
See Also:
  • Constructor Details

    • IdJsonMappingException

      public IdJsonMappingException(String msg, Object id)
      Constructs exception with message and ID.
      Parameters:
      msg - the error message
      id - the request ID
    • IdJsonMappingException

      public IdJsonMappingException(String msg, Throwable cause, Object id)
      Constructs exception with message, cause, and ID.
      Parameters:
      msg - the error message
      cause - the cause
      id - the request ID
  • Method Details

    • getId

      public Object getId()
      Gets the request ID associated with this exception.
      Returns:
      the request ID