public class RetryUtils extends Object
| Constructor and Description |
|---|
RetryUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isRetryableClientException(CosClientException exception)
Returns true if the specified exception is a retryable service side exception.
|
static boolean |
isRetryableClientException(Exception exception)
Returns true if the specified exception is a retryable service side exception.
|
static boolean |
isRetryableServiceException(CosServiceException exception)
Returns true if the specified exception is a retryable service side exception.
|
static boolean |
isRetryableServiceException(Exception exception)
Returns true if the specified exception is a retryable service side exception.
|
public static boolean isRetryableServiceException(Exception exception)
exception - The exception to test.public static boolean isRetryableServiceException(CosServiceException exception)
exception - The exception to test.public static boolean isRetryableClientException(Exception exception)
exception - The exception to test.public static boolean isRetryableClientException(CosClientException exception)
exception - The exception to test.Copyright © 2023. All rights reserved.