117 строки
9.8 KiB
YAML
117 строки
9.8 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.spring.data.cosmos.exception.CosmosAccessException"
|
|
fullName: "com.azure.spring.data.cosmos.exception.CosmosAccessException"
|
|
name: "CosmosAccessException"
|
|
nameWithType: "CosmosAccessException"
|
|
summary: "Public class extending Data<wbr>Access<wbr>Exception, exposes inner<wbr>Exception."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Throwable?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Exception?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.RuntimeException?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"org.springframework.core.NestedRuntimeException?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"org.springframework.dao.DataAccessException?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html\">Throwable</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#addSuppressed-java.lang.Throwable-\">addSuppressed</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#fillInStackTrace--\">fillInStackTrace</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#getCause--\">getCause</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#getLocalizedMessage--\">getLocalizedMessage</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#getMessage--\">getMessage</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#getStackTrace--\">getStackTrace</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#getSuppressed--\">getSuppressed</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#initCause-java.lang.Throwable-\">initCause</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#printStackTrace--\">printStackTrace</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#printStackTrace-java.io.PrintStream-\">printStackTrace</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#printStackTrace-java.io.PrintWriter-\">printStackTrace</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#setStackTrace-java.lang.StackTraceElement:A-\">setStackTrace</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#toString--\">toString</a>"
|
|
- classRef: "<xref href=\"org.springframework.core.NestedRuntimeException?alt=org.springframework.core.NestedRuntimeException&text=NestedRuntimeException\" data-throw-if-not-resolved=\"False\" />"
|
|
methodsRef:
|
|
- "<xref href=\"org.springframework.core.NestedRuntimeException.contains(java.lang.Class<?>)?alt=org.springframework.core.NestedRuntimeException.contains&text=contains\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"org.springframework.core.NestedRuntimeException.getMostSpecificCause()?alt=org.springframework.core.NestedRuntimeException.getMostSpecificCause&text=getMostSpecificCause\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"org.springframework.core.NestedRuntimeException.getRootCause()?alt=org.springframework.core.NestedRuntimeException.getRootCause&text=getRootCause\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public class **CosmosAccessException**</br> extends <xref href=\"org.springframework.dao.DataAccessException?alt=org.springframework.dao.DataAccessException&text=DataAccessException\" data-throw-if-not-resolved=\"False\" />"
|
|
constructors:
|
|
- uid: "com.azure.spring.data.cosmos.exception.CosmosAccessException.CosmosAccessException(java.lang.String)"
|
|
fullName: "com.azure.spring.data.cosmos.exception.CosmosAccessException.CosmosAccessException(String msg)"
|
|
name: "CosmosAccessException(String msg)"
|
|
nameWithType: "CosmosAccessException.CosmosAccessException(String msg)"
|
|
summary: "Construct a `CosmosDBAccessException` with the specified detail message."
|
|
parameters:
|
|
- description: "the detail message"
|
|
name: "msg"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public CosmosAccessException(String msg)"
|
|
desc: "Construct a `CosmosDBAccessException` with the specified detail message."
|
|
- uid: "com.azure.spring.data.cosmos.exception.CosmosAccessException.CosmosAccessException(java.lang.String,java.lang.Exception)"
|
|
fullName: "com.azure.spring.data.cosmos.exception.CosmosAccessException.CosmosAccessException(String msg, Exception cause)"
|
|
name: "CosmosAccessException(String msg, Exception cause)"
|
|
nameWithType: "CosmosAccessException.CosmosAccessException(String msg, Exception cause)"
|
|
summary: "Construct a `CosmosDBAccessException` with the specified detail message and nested exception."
|
|
parameters:
|
|
- description: "the detail message"
|
|
name: "msg"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "the nested exception"
|
|
name: "cause"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html\">Exception</a>"
|
|
syntax: "public CosmosAccessException(String msg, Exception cause)"
|
|
desc: "Construct a `CosmosDBAccessException` with the specified detail message and nested exception."
|
|
- uid: "com.azure.spring.data.cosmos.exception.CosmosAccessException.CosmosAccessException(java.lang.String,java.lang.Throwable)"
|
|
fullName: "com.azure.spring.data.cosmos.exception.CosmosAccessException.CosmosAccessException(String msg, Throwable cause)"
|
|
name: "CosmosAccessException(String msg, Throwable cause)"
|
|
nameWithType: "CosmosAccessException.CosmosAccessException(String msg, Throwable cause)"
|
|
summary: "Construct a `CosmosDBAccessException` with the specified detail message."
|
|
parameters:
|
|
- description: "the detail message"
|
|
name: "msg"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "the nested Throwable"
|
|
name: "cause"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html\">Throwable</a>"
|
|
syntax: "public CosmosAccessException(String msg, Throwable cause)"
|
|
desc: "Construct a `CosmosDBAccessException` with the specified detail message. and nested exception."
|
|
fields:
|
|
- uid: "com.azure.spring.data.cosmos.exception.CosmosAccessException.cosmosException"
|
|
fullName: "com.azure.spring.data.cosmos.exception.CosmosAccessException.cosmosException"
|
|
name: "cosmosException"
|
|
nameWithType: "CosmosAccessException.cosmosException"
|
|
summary: "Cosmos exception."
|
|
modifiers:
|
|
- "protected"
|
|
- "final"
|
|
field:
|
|
type: "<xref href=\"com.azure.cosmos.CosmosException?alt=com.azure.cosmos.CosmosException&text=CosmosException\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "protected final CosmosException cosmosException"
|
|
desc: "Cosmos exception."
|
|
methods:
|
|
- uid: "com.azure.spring.data.cosmos.exception.CosmosAccessException.getCosmosException()"
|
|
fullName: "com.azure.spring.data.cosmos.exception.CosmosAccessException.getCosmosException()"
|
|
name: "getCosmosException()"
|
|
nameWithType: "CosmosAccessException.getCosmosException()"
|
|
summary: "To get exception object for cosmos client"
|
|
syntax: "public CosmosException getCosmosException()"
|
|
desc: "To get exception object for cosmos client"
|
|
returns:
|
|
description: "CosmosException"
|
|
type: "<xref href=\"com.azure.cosmos.CosmosException?alt=com.azure.cosmos.CosmosException&text=CosmosException\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Public class extending DataAccessException, exposes innerException. Every API in <xref uid=\"com.azure.spring.data.cosmos.repository.CosmosRepository\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosRepository\"></xref> and <xref uid=\"com.azure.spring.data.cosmos.repository.ReactiveCosmosRepository\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ReactiveCosmosRepository\"></xref> should throw <xref uid=\"com.azure.spring.data.cosmos.exception.CosmosAccessException\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosAccessException\"></xref>. 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."
|
|
metadata: {}
|
|
package: "com.azure.spring.data.cosmos.exception"
|
|
artifact: com.azure:azure-spring-data-cosmos:5.18.0
|