This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Download Microsoft Edge
More info about Internet Explorer and Microsoft Edge
The
AzureException
class is the base class for all exceptions thrown by Azure SDKs. This class extends the
RuntimeException
class, which means that it is an unchecked exception.
Instances of this class or its subclasses 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
AzureException
might be thrown. The specific subclass of
AzureException
that is thrown depends on the nature of the error.
AzureException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
Initializes a new instance of the Azure
Exception class.
public AzureException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
Initializes a new instance of the AzureException class.
Parameters:
message
- The exception message.
cause
- The
Throwable
which caused the creation of this AzureException.
enableSuppression
- Whether suppression is enabled or disabled.
writableStackTrace
- Whether the exception stack trace will be filled in.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:
https://aka.ms/ContentUserFeedback
.
Submit and view feedback for
This product