azure-docs-sdk-java/docs-ref-autogen/com.azure.core.amqp.excepti...

187 строки
16 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.amqp.exception.AmqpException"
fullName: "com.azure.core.amqp.exception.AmqpException"
name: "AmqpException"
nameWithType: "AmqpException"
summary: "General exception for AMQP related failures."
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\" />"
- "<xref href=\"com.azure.core.exception.AzureException?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 **AmqpException**</br> extends <xref href=\"com.azure.core.exception.AzureException?alt=com.azure.core.exception.AzureException&text=AzureException\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.azure.core.amqp.exception.AmqpException.AmqpException(boolean,com.azure.core.amqp.exception.AmqpErrorCondition,java.lang.String,com.azure.core.amqp.exception.AmqpErrorContext)"
fullName: "com.azure.core.amqp.exception.AmqpException.AmqpException(boolean isTransient, AmqpErrorCondition errorCondition, String message, AmqpErrorContext errorContext)"
name: "AmqpException(boolean isTransient, AmqpErrorCondition errorCondition, String message, AmqpErrorContext errorContext)"
nameWithType: "AmqpException.AmqpException(boolean isTransient, AmqpErrorCondition errorCondition, String message, AmqpErrorContext errorContext)"
summary: "Initializes a new instance of the Amqp<wbr>Exception class."
parameters:
- description: "A boolean indicating if the exception is a transient error or not. If true, then the\n request can be retried; otherwise not."
name: "isTransient"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- description: "The symbolic value indicating the error condition."
name: "errorCondition"
type: "<xref href=\"com.azure.core.amqp.exception.AmqpErrorCondition?alt=com.azure.core.amqp.exception.AmqpErrorCondition&text=AmqpErrorCondition\" data-throw-if-not-resolved=\"False\" />"
- description: "Text containing any supplementary details not indicated by the condition field. This text can\n be logged as an aid to resolving issues."
name: "message"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The context that caused this AMQP error."
name: "errorContext"
type: "<xref href=\"com.azure.core.amqp.exception.AmqpErrorContext?alt=com.azure.core.amqp.exception.AmqpErrorContext&text=AmqpErrorContext\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AmqpException(boolean isTransient, AmqpErrorCondition errorCondition, String message, AmqpErrorContext errorContext)"
desc: "Initializes a new instance of the AmqpException class."
- uid: "com.azure.core.amqp.exception.AmqpException.AmqpException(boolean,com.azure.core.amqp.exception.AmqpErrorCondition,java.lang.String,java.lang.Throwable,com.azure.core.amqp.exception.AmqpErrorContext)"
fullName: "com.azure.core.amqp.exception.AmqpException.AmqpException(boolean isTransient, AmqpErrorCondition errorCondition, String message, Throwable cause, AmqpErrorContext errorContext)"
name: "AmqpException(boolean isTransient, AmqpErrorCondition errorCondition, String message, Throwable cause, AmqpErrorContext errorContext)"
nameWithType: "AmqpException.AmqpException(boolean isTransient, AmqpErrorCondition errorCondition, String message, Throwable cause, AmqpErrorContext errorContext)"
summary: "Initializes a new instance of the Amqp<wbr>Exception class."
parameters:
- description: "A boolean indicating if the exception is a transient error or not. If true, then the\n request can be retried; otherwise not."
name: "isTransient"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- description: "The symbolic value indicating the error condition."
name: "errorCondition"
type: "<xref href=\"com.azure.core.amqp.exception.AmqpErrorCondition?alt=com.azure.core.amqp.exception.AmqpErrorCondition&text=AmqpErrorCondition\" data-throw-if-not-resolved=\"False\" />"
- description: "Text containing any supplementary details not indicated by the condition field. This text can\n be logged as an aid to resolving issues."
name: "message"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The Throwable which caused the creation of this AmqpException."
name: "cause"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html\">Throwable</a>"
- description: "The context that caused this AMQP error."
name: "errorContext"
type: "<xref href=\"com.azure.core.amqp.exception.AmqpErrorContext?alt=com.azure.core.amqp.exception.AmqpErrorContext&text=AmqpErrorContext\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AmqpException(boolean isTransient, AmqpErrorCondition errorCondition, String message, Throwable cause, AmqpErrorContext errorContext)"
desc: "Initializes a new instance of the AmqpException class."
- uid: "com.azure.core.amqp.exception.AmqpException.AmqpException(boolean,com.azure.core.amqp.exception.AmqpErrorCondition,java.lang.Throwable,com.azure.core.amqp.exception.AmqpErrorContext)"
fullName: "com.azure.core.amqp.exception.AmqpException.AmqpException(boolean isTransient, AmqpErrorCondition errorCondition, Throwable cause, AmqpErrorContext errorContext)"
name: "AmqpException(boolean isTransient, AmqpErrorCondition errorCondition, Throwable cause, AmqpErrorContext errorContext)"
nameWithType: "AmqpException.AmqpException(boolean isTransient, AmqpErrorCondition errorCondition, Throwable cause, AmqpErrorContext errorContext)"
summary: "Initializes a new instance of the Amqp<wbr>Exception class."
parameters:
- description: "A boolean indicating if the exception is a transient error or not. If true, then the\n request can be retried; otherwise not."
name: "isTransient"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- description: "The symbolic value indicating the error condition."
name: "errorCondition"
type: "<xref href=\"com.azure.core.amqp.exception.AmqpErrorCondition?alt=com.azure.core.amqp.exception.AmqpErrorCondition&text=AmqpErrorCondition\" data-throw-if-not-resolved=\"False\" />"
- description: "The Throwable which caused the creation of this AmqpException."
name: "cause"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html\">Throwable</a>"
- description: "The context that caused this AMQP error."
name: "errorContext"
type: "<xref href=\"com.azure.core.amqp.exception.AmqpErrorContext?alt=com.azure.core.amqp.exception.AmqpErrorContext&text=AmqpErrorContext\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AmqpException(boolean isTransient, AmqpErrorCondition errorCondition, Throwable cause, AmqpErrorContext errorContext)"
desc: "Initializes a new instance of the AmqpException class."
- uid: "com.azure.core.amqp.exception.AmqpException.AmqpException(boolean,java.lang.String,com.azure.core.amqp.exception.AmqpErrorContext)"
fullName: "com.azure.core.amqp.exception.AmqpException.AmqpException(boolean isTransient, String message, AmqpErrorContext errorContext)"
name: "AmqpException(boolean isTransient, String message, AmqpErrorContext errorContext)"
nameWithType: "AmqpException.AmqpException(boolean isTransient, String message, AmqpErrorContext errorContext)"
summary: "Initializes a new instance of the Amqp<wbr>Exception class."
parameters:
- description: "A boolean indicating if the exception is a transient error or not. If true, then the\n request can be retried; otherwise not."
name: "isTransient"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- description: "Text containing any supplementary details of the exception."
name: "message"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The context that caused this AMQP error."
name: "errorContext"
type: "<xref href=\"com.azure.core.amqp.exception.AmqpErrorContext?alt=com.azure.core.amqp.exception.AmqpErrorContext&text=AmqpErrorContext\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AmqpException(boolean isTransient, String message, AmqpErrorContext errorContext)"
desc: "Initializes a new instance of the AmqpException class."
- uid: "com.azure.core.amqp.exception.AmqpException.AmqpException(boolean,java.lang.String,java.lang.Throwable,com.azure.core.amqp.exception.AmqpErrorContext)"
fullName: "com.azure.core.amqp.exception.AmqpException.AmqpException(boolean isTransient, String message, Throwable cause, AmqpErrorContext errorContext)"
name: "AmqpException(boolean isTransient, String message, Throwable cause, AmqpErrorContext errorContext)"
nameWithType: "AmqpException.AmqpException(boolean isTransient, String message, Throwable cause, AmqpErrorContext errorContext)"
summary: "Initializes a new instance of the Amqp<wbr>Exception class."
parameters:
- description: "A boolean indicating if the exception is a transient error or not. If true, then the\n request can be retried; otherwise not."
name: "isTransient"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- description: "Text containing any supplementary details not indicated by the condition field. This text can\n be logged as an aid to resolving issues."
name: "message"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The Throwable which caused the creation of this AmqpException."
name: "cause"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html\">Throwable</a>"
- description: "The context that caused this AMQP error."
name: "errorContext"
type: "<xref href=\"com.azure.core.amqp.exception.AmqpErrorContext?alt=com.azure.core.amqp.exception.AmqpErrorContext&text=AmqpErrorContext\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AmqpException(boolean isTransient, String message, Throwable cause, AmqpErrorContext errorContext)"
desc: "Initializes a new instance of the AmqpException class."
methods:
- uid: "com.azure.core.amqp.exception.AmqpException.getContext()"
fullName: "com.azure.core.amqp.exception.AmqpException.getContext()"
name: "getContext()"
nameWithType: "AmqpException.getContext()"
summary: "Gets the context for this exception."
syntax: "public AmqpErrorContext getContext()"
desc: "Gets the context for this exception."
returns:
description: "The context for this exception."
type: "<xref href=\"com.azure.core.amqp.exception.AmqpErrorContext?alt=com.azure.core.amqp.exception.AmqpErrorContext&text=AmqpErrorContext\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.amqp.exception.AmqpException.getErrorCondition()"
fullName: "com.azure.core.amqp.exception.AmqpException.getErrorCondition()"
name: "getErrorCondition()"
nameWithType: "AmqpException.getErrorCondition()"
summary: "Gets the <xref uid=\"com.azure.core.amqp.exception.AmqpErrorCondition\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AmqpErrorCondition\"></xref> for this exception."
syntax: "public AmqpErrorCondition getErrorCondition()"
desc: "Gets the <xref uid=\"com.azure.core.amqp.exception.AmqpErrorCondition\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AmqpErrorCondition\"></xref> for this exception."
returns:
description: "The <xref uid=\"com.azure.core.amqp.exception.AmqpErrorCondition\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AmqpErrorCondition\"></xref> for this exception, or <code>null</code> if nothing was set."
type: "<xref href=\"com.azure.core.amqp.exception.AmqpErrorCondition?alt=com.azure.core.amqp.exception.AmqpErrorCondition&text=AmqpErrorCondition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.amqp.exception.AmqpException.getMessage()"
fullName: "com.azure.core.amqp.exception.AmqpException.getMessage()"
name: "getMessage()"
nameWithType: "AmqpException.getMessage()"
overridden: "java.lang.Throwable.getMessage()"
syntax: "public String getMessage()"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.core.amqp.exception.AmqpException.isTransient()"
fullName: "com.azure.core.amqp.exception.AmqpException.isTransient()"
name: "isTransient()"
nameWithType: "AmqpException.isTransient()"
summary: "A boolean indicating if the exception is a transient error or not."
syntax: "public boolean isTransient()"
desc: "A boolean indicating if the exception is a transient error or not."
returns:
description: "returns true when user can retry the operation that generated the exception without additional\n intervention."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "General exception for AMQP related failures."
metadata: {}
package: "com.azure.core.amqp.exception"
artifact: com.azure:azure-core-amqp:2.9.9