All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.core.exception.package-info Maven / Gradle / Ivy

There is a newer version: 1.54.1
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

/**
 * 

This package contains the core exception classes used throughout the Azure SDKs.

* *

These 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.

* *

Here are some of the key exceptions included in this package:

*
    *
  • {@link com.azure.core.exception.AzureException}: The base class for all exceptions thrown by Azure SDKs.
  • * *
  • {@link com.azure.core.exception.HttpRequestException}: Represents an exception thrown when an HTTP request * fails.
  • * *
  • {@link com.azure.core.exception.HttpResponseException}: Represents an exception thrown when an unsuccessful * HTTP response is received from a service request.
  • * *
  • {@link com.azure.core.exception.ResourceExistsException}: Represents an exception thrown when an HTTP request * attempts to create a resource that already exists.
  • * *
  • {@link com.azure.core.exception.ResourceNotFoundException}: Represents an exception thrown when an HTTP * request attempts to access a resource that does not exist.
  • *
* *

Some exceptions (noted in their documentation) include the HTTP request or response that led to the exception.

*/ package com.azure.core.exception;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy