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

108 строки
6.2 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\" />"
inheritedMembers:
- "java.lang.Object.clone()"
- "java.lang.Object.equals(java.lang.Object)"
- "java.lang.Object.finalize()"
- "java.lang.Object.getClass()"
- "java.lang.Object.hashCode()"
- "java.lang.Object.notify()"
- "java.lang.Object.notifyAll()"
- "java.lang.Object.wait()"
- "java.lang.Object.wait(long)"
- "java.lang.Object.wait(long,int)"
- "java.lang.Throwable.addSuppressed(java.lang.Throwable)"
- "java.lang.Throwable.fillInStackTrace()"
- "java.lang.Throwable.getCause()"
- "java.lang.Throwable.getLocalizedMessage()"
- "java.lang.Throwable.getMessage()"
- "java.lang.Throwable.getStackTrace()"
- "java.lang.Throwable.getSuppressed()"
- "java.lang.Throwable.initCause(java.lang.Throwable)"
- "java.lang.Throwable.printStackTrace()"
- "java.lang.Throwable.printStackTrace(java.io.PrintStream)"
- "java.lang.Throwable.printStackTrace(java.io.PrintWriter)"
- "java.lang.Throwable.setStackTrace(java.lang.StackTraceElement[])"
- "java.lang.Throwable.toString()"
syntax: "public class EventHubException extends Exception"
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