azure-docs-sdk-java/docs-ref-autogen/com.azure.core.exception.yml

22 строки
2.7 KiB
YAML

### YamlMime:JavaPackage
uid: "com.azure.core.exception"
fullName: "com.azure.core.exception"
name: "com.azure.core.exception"
summary: "This package contains the core exception classes used throughout the Azure SDKs."
classes:
- "com.azure.core.exception.AzureException"
- "com.azure.core.exception.ClientAuthenticationException"
- "com.azure.core.exception.DecodeException"
- "com.azure.core.exception.HttpRequestException"
- "com.azure.core.exception.HttpResponseException"
- "com.azure.core.exception.ResourceExistsException"
- "com.azure.core.exception.ResourceModifiedException"
- "com.azure.core.exception.ResourceNotFoundException"
- "com.azure.core.exception.ServiceResponseException"
- "com.azure.core.exception.TooManyRedirectsException"
- "com.azure.core.exception.UnexpectedLengthException"
desc: "This package contains the core exception classes used throughout the Azure SDKs.\n\nThese exceptions are typically thrown in response to errors that occur when interacting with Azure services. For example, if a network request to an Azure service fails an exception from this package is thrown. The specific exception that is thrown depends on the nature of the error.\n\nHere are some of the key exceptions included in this package:\n\n * <xref uid=\"com.azure.core.exception.AzureException\" data-throw-if-not-resolved=\"false\" data-raw-source=\"com.azure.core.exception.AzureException\"></xref>: The base class for all exceptions thrown by Azure SDKs.\n * <xref uid=\"com.azure.core.exception.HttpRequestException\" data-throw-if-not-resolved=\"false\" data-raw-source=\"com.azure.core.exception.HttpRequestException\"></xref>: Represents an exception thrown when an HTTP request fails.\n * <xref uid=\"com.azure.core.exception.HttpResponseException\" data-throw-if-not-resolved=\"false\" data-raw-source=\"com.azure.core.exception.HttpResponseException\"></xref>: Represents an exception thrown when an unsuccessful HTTP response is received from a service request.\n * <xref uid=\"com.azure.core.exception.ResourceExistsException\" data-throw-if-not-resolved=\"false\" data-raw-source=\"com.azure.core.exception.ResourceExistsException\"></xref>: Represents an exception thrown when an HTTP request attempts to create a resource that already exists.\n * <xref uid=\"com.azure.core.exception.ResourceNotFoundException\" data-throw-if-not-resolved=\"false\" data-raw-source=\"com.azure.core.exception.ResourceNotFoundException\"></xref>: Represents an exception thrown when an HTTP request attempts to access a resource that does not exist.\n\nSome exceptions (noted in their documentation) include the HTTP request or response that led to the exception."
metadata: {}
package: "com.azure.core.exception"
artifact: com.azure:azure-core:1.52.0