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