ClientErrorRetryReason, ConnectionResetRetryReason, ConnectionTimeoutRetryReason, ReadTimeoutRetryReason, ServerErrorRetryReason, UnknownHostRetryReason, UnknownIOExceptionRetryReason, UnknownSocketExceptionRetryReasonpublic abstract class RetryReasonCategory
extends java.lang.Object
| Constructor | Description |
|---|---|
RetryReasonCategory() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
captureAndGetAbbreviation(java.lang.Exception ex,
java.lang.Integer statusCode,
java.lang.String serverErrorMessage) |
Converts the server-error response to an abbreviation if the response can be
categorised by the implementation.
|
public java.lang.String captureAndGetAbbreviation(java.lang.Exception ex,
java.lang.Integer statusCode,
java.lang.String serverErrorMessage)
ex - exception received while making API requeststatusCode - statusCode received in the server-responseserverErrorMessage - error-message received in the server-responseCopyright © 2008–2025 Apache Software Foundation. All rights reserved.