public class CosmosDBAccessException
extends org.springframework.dao.DataAccessException
CosmosRepository
and ReactiveCosmosRepository
should throw CosmosDBAccessException.
innerException refers to the exception thrown by CosmosDB SDK. Callers of repository APIs can
rely on innerException for any retriable logic, or for more details on the failure of
the operation.| Modifier and Type | Field and Description |
|---|---|
protected com.azure.data.cosmos.CosmosClientException |
cosmosClientException |
| Constructor and Description |
|---|
CosmosDBAccessException(String msg) |
CosmosDBAccessException(String msg,
Exception cause) |
CosmosDBAccessException(String msg,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
com.azure.data.cosmos.CosmosClientException |
getCosmosClientException() |
contains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected final com.azure.data.cosmos.CosmosClientException cosmosClientException
Copyright © 2020 Microsoft. All rights reserved.