azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.eventhu...

112 строки
8.3 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.eventhubs.EventHubException"
fullName: "com.microsoft.azure.eventhubs.EventHubException"
name: "EventHubException"
nameWithType: "EventHubException"
summary: "This is the base exception that service bus will produce for all error cases."
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\" />"
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 **EventHubException**</br> extends <a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html\">Exception</a>"
constructors:
- uid: "com.microsoft.azure.eventhubs.EventHubException.EventHubException(boolean,java.lang.String)"
fullName: "com.microsoft.azure.eventhubs.EventHubException.EventHubException(boolean isTransient, String message)"
name: "EventHubException(boolean isTransient, String message)"
nameWithType: "EventHubException.EventHubException(boolean isTransient, String message)"
parameters:
- name: "isTransient"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- name: "message"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public EventHubException(boolean isTransient, String message)"
- uid: "com.microsoft.azure.eventhubs.EventHubException.EventHubException(boolean,java.lang.String,java.lang.Throwable)"
fullName: "com.microsoft.azure.eventhubs.EventHubException.EventHubException(boolean isTransient, String message, Throwable cause)"
name: "EventHubException(boolean isTransient, String message, Throwable cause)"
nameWithType: "EventHubException.EventHubException(boolean isTransient, String message, Throwable cause)"
parameters:
- name: "isTransient"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- name: "message"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- name: "cause"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html\">Throwable</a>"
syntax: "public EventHubException(boolean isTransient, String message, Throwable cause)"
- uid: "com.microsoft.azure.eventhubs.EventHubException.EventHubException(boolean,java.lang.Throwable)"
fullName: "com.microsoft.azure.eventhubs.EventHubException.EventHubException(boolean isTransient, Throwable cause)"
name: "EventHubException(boolean isTransient, Throwable cause)"
nameWithType: "EventHubException.EventHubException(boolean isTransient, Throwable cause)"
parameters:
- name: "isTransient"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- name: "cause"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html\">Throwable</a>"
syntax: "public EventHubException(boolean isTransient, Throwable cause)"
methods:
- uid: "com.microsoft.azure.eventhubs.EventHubException.getContext()"
fullName: "com.microsoft.azure.eventhubs.EventHubException.getContext()"
name: "getContext()"
nameWithType: "EventHubException.getContext()"
syntax: "public ErrorContext getContext()"
returns:
type: "<xref href=\"com.microsoft.azure.eventhubs.ErrorContext?alt=com.microsoft.azure.eventhubs.ErrorContext&text=ErrorContext\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.eventhubs.EventHubException.getIsTransient()"
fullName: "com.microsoft.azure.eventhubs.EventHubException.getIsTransient()"
name: "getIsTransient()"
nameWithType: "EventHubException.getIsTransient()"
summary: "A boolean indicating if the exception is a transient error or not."
syntax: "public boolean getIsTransient()"
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 intervention."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.eventhubs.EventHubException.getMessage()"
fullName: "com.microsoft.azure.eventhubs.EventHubException.getMessage()"
name: "getMessage()"
nameWithType: "EventHubException.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.microsoft.azure.eventhubs.EventHubException.setContext(com.microsoft.azure.eventhubs.ErrorContext)"
fullName: "com.microsoft.azure.eventhubs.EventHubException.setContext(ErrorContext errorContext)"
name: "setContext(ErrorContext errorContext)"
nameWithType: "EventHubException.setContext(ErrorContext errorContext)"
parameters:
- name: "errorContext"
type: "<xref href=\"com.microsoft.azure.eventhubs.ErrorContext?alt=com.microsoft.azure.eventhubs.ErrorContext&text=ErrorContext\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void setContext(ErrorContext errorContext)"
type: "class"
desc: "This is the base exception that service bus will produce for all error cases."
metadata: {}
package: "com.microsoft.azure.eventhubs"
artifact: com.microsoft.azure:azure-eventhubs:3.2.2