public class ExceptionUtils extends Object
| Constructor and Description |
|---|
ExceptionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static com.microsoft.azure.documentdb.DocumentClientException |
getThrottelingException(Exception e) |
static boolean |
isGone(com.microsoft.azure.documentdb.DocumentClientException e) |
static boolean |
isSplit(com.microsoft.azure.documentdb.DocumentClientException e) |
static boolean |
isThrottled(com.microsoft.azure.documentdb.DocumentClientException e) |
static boolean |
isTimedOut(com.microsoft.azure.documentdb.DocumentClientException e) |
static boolean |
isUnavailable(com.microsoft.azure.documentdb.DocumentClientException e) |
static Exception |
toException(Throwable t) |
static RuntimeException |
toRuntimeException(Exception e) |
public static boolean isThrottled(com.microsoft.azure.documentdb.DocumentClientException e)
public static boolean isTimedOut(com.microsoft.azure.documentdb.DocumentClientException e)
public static boolean isUnavailable(com.microsoft.azure.documentdb.DocumentClientException e)
public static boolean isGone(com.microsoft.azure.documentdb.DocumentClientException e)
public static boolean isSplit(com.microsoft.azure.documentdb.DocumentClientException e)
public static com.microsoft.azure.documentdb.DocumentClientException getThrottelingException(Exception e)
public static RuntimeException toRuntimeException(Exception e)
Copyright © 2019. All rights reserved.