Package | Description |
---|---|
com.azure.core.exception |
Package containing core exception classes.
|
Modifier and Type | Class and Description |
---|---|
class |
ClientAuthenticationException
The exception thrown when failed to authenticate the client request with status code of 4XX, typically 401
unauthorized.
|
class |
DecodeException
Error raised during response deserialization.
|
class |
HttpRequestException
The exception when an HTTP request fails.
|
class |
HttpResponseException
The exception thrown when an unsuccessful response is received with http status code (e.g.
|
class |
ResourceExistsException
The exception thrown when HTTP request tried to create an already existing resource with status code of 4XX,
typically 412 conflict.
|
class |
ResourceModifiedException
The exception thrown for invalid resource modification with status code of 4XX, typically 409 Conflict.
|
class |
ResourceNotFoundException
An error response, typically triggered by a 412 response (for update) or 404 (for get/post)
|
class |
ServiceResponseException
A runtime exception indicating service response failure caused by one of the following scenarios:
The request was sent, but the client failed to understand the response.
|
class |
TooManyRedirectsException
This exception is thrown when an HTTP request has reached the maximum number of redirect attempts
with HTTP status code of 3XX.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.