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

110 строки
8.8 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.exception.AzureException"
fullName: "com.azure.core.exception.AzureException"
name: "AzureException"
nameWithType: "AzureException"
summary: "The `AzureException` class is the base class for all exceptions thrown by Azure SDKs."
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\" />"
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>"
syntax: "public class **AzureException**</br> extends <a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html\">RuntimeException</a>"
constructors:
- uid: "com.azure.core.exception.AzureException.AzureException()"
fullName: "com.azure.core.exception.AzureException.AzureException()"
name: "AzureException()"
nameWithType: "AzureException.AzureException()"
summary: "Initializes a new instance of the Azure<wbr>Exception class."
syntax: "public AzureException()"
desc: "Initializes a new instance of the AzureException class."
- uid: "com.azure.core.exception.AzureException.AzureException(java.lang.String)"
fullName: "com.azure.core.exception.AzureException.AzureException(String message)"
name: "AzureException(String message)"
nameWithType: "AzureException.AzureException(String message)"
summary: "Initializes a new instance of the Azure<wbr>Exception class."
parameters:
- description: "The exception message."
name: "message"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public AzureException(String message)"
desc: "Initializes a new instance of the AzureException class."
- uid: "com.azure.core.exception.AzureException.AzureException(java.lang.String,java.lang.Throwable)"
fullName: "com.azure.core.exception.AzureException.AzureException(String message, Throwable cause)"
name: "AzureException(String message, Throwable cause)"
nameWithType: "AzureException.AzureException(String message, Throwable cause)"
summary: "Initializes a new instance of the Azure<wbr>Exception class."
parameters:
- description: "The exception message."
name: "message"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The <xref uid=\"java.lang.Throwable\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Throwable\"></xref> which caused the creation of this AzureException."
name: "cause"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html\">Throwable</a>"
syntax: "public AzureException(String message, Throwable cause)"
desc: "Initializes a new instance of the AzureException class."
- uid: "com.azure.core.exception.AzureException.AzureException(java.lang.String,java.lang.Throwable,boolean,boolean)"
fullName: "com.azure.core.exception.AzureException.AzureException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)"
name: "AzureException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)"
nameWithType: "AzureException.AzureException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)"
summary: "Initializes a new instance of the Azure<wbr>Exception class."
parameters:
- description: "The exception message."
name: "message"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The <xref uid=\"java.lang.Throwable\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Throwable\"></xref> which caused the creation of this AzureException."
name: "cause"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html\">Throwable</a>"
- description: "Whether suppression is enabled or disabled."
name: "enableSuppression"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- description: "Whether the exception stack trace will be filled in."
name: "writableStackTrace"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AzureException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)"
desc: "Initializes a new instance of the AzureException class."
- uid: "com.azure.core.exception.AzureException.AzureException(java.lang.Throwable)"
fullName: "com.azure.core.exception.AzureException.AzureException(Throwable cause)"
name: "AzureException(Throwable cause)"
nameWithType: "AzureException.AzureException(Throwable cause)"
summary: "Initializes a new instance of the Azure<wbr>Exception class."
parameters:
- description: "The <xref uid=\"java.lang.Throwable\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Throwable\"></xref> which caused the creation of this AzureException."
name: "cause"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html\">Throwable</a>"
syntax: "public AzureException(Throwable cause)"
desc: "Initializes a new instance of the AzureException class."
type: "class"
desc: "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.\n\nInstances 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."
metadata: {}
package: "com.azure.core.exception"
artifact: com.azure:azure-core:1.52.0