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

82 строки
4.9 KiB
YAML

### YamlMime:JavaType
constructors:
- fullName: com.microsoft.azure.eventhubs.EventHubException.EventHubException(final boolean isTransient, final String message)
name: EventHubException(final boolean isTransient, final String message)
nameWithType: EventHubException.EventHubException(final boolean isTransient, final String message)
parameters:
- name: isTransient
type: <xref href="final+boolean?alt=final+boolean&text=final+boolean" data-throw-if-not-resolved="False"/>
- name: message
type: <xref href="final+String?alt=final+String&text=final+String" data-throw-if-not-resolved="False"/>
syntax: public EventHubException(final boolean isTransient, final String message)
uid: com.microsoft.azure.eventhubs.EventHubException.EventHubException(final boolean,final String)
- fullName: com.microsoft.azure.eventhubs.EventHubException.EventHubException(final boolean isTransient, final String message, final Throwable cause)
name: EventHubException(final boolean isTransient, final String message, final Throwable cause)
nameWithType: EventHubException.EventHubException(final boolean isTransient, final String message, final Throwable cause)
parameters:
- name: isTransient
type: <xref href="final+boolean?alt=final+boolean&text=final+boolean" data-throw-if-not-resolved="False"/>
- name: message
type: <xref href="final+String?alt=final+String&text=final+String" data-throw-if-not-resolved="False"/>
- name: cause
type: <xref href="final+Throwable?alt=final+Throwable&text=final+Throwable" data-throw-if-not-resolved="False"/>
syntax: public EventHubException(final boolean isTransient, final String message, final Throwable cause)
uid: com.microsoft.azure.eventhubs.EventHubException.EventHubException(final boolean,final String,final Throwable)
- fullName: com.microsoft.azure.eventhubs.EventHubException.EventHubException(final boolean isTransient, final Throwable cause)
name: EventHubException(final boolean isTransient, final Throwable cause)
nameWithType: EventHubException.EventHubException(final boolean isTransient, final Throwable cause)
parameters:
- name: isTransient
type: <xref href="final+boolean?alt=final+boolean&text=final+boolean" data-throw-if-not-resolved="False"/>
- name: cause
type: <xref href="final+Throwable?alt=final+Throwable&text=final+Throwable" data-throw-if-not-resolved="False"/>
syntax: public EventHubException(final boolean isTransient, final Throwable cause)
uid: com.microsoft.azure.eventhubs.EventHubException.EventHubException(final boolean,final Throwable)
inheritances:
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
- <xref href="Exception" data-throw-if-not-resolved="False"/>
methods:
- fullName: com.microsoft.azure.eventhubs.EventHubException.getContext()
name: getContext()
nameWithType: EventHubException.getContext()
returns:
type: <xref href="com.microsoft.azure.eventhubs.ErrorContext?alt=com.microsoft.azure.eventhubs.ErrorContext&text=ErrorContext" data-throw-if-not-resolved="False"/>
syntax: public ErrorContext getContext()
uid: com.microsoft.azure.eventhubs.EventHubException.getContext()
- fullName: com.microsoft.azure.eventhubs.EventHubException.getIsTransient()
name: getIsTransient()
nameWithType: EventHubException.getIsTransient()
returns:
description: <p>returns true when user can retry the operation that generated the exception without additional intervention. </p>
type: <xref href="boolean?alt=boolean&text=boolean" data-throw-if-not-resolved="False"/>
summary: >-
<p>A boolean indicating if the exception is a transient error or not.</p>
<p></p>
syntax: public boolean getIsTransient()
uid: com.microsoft.azure.eventhubs.EventHubException.getIsTransient()
- fullName: com.microsoft.azure.eventhubs.EventHubException.getMessage()
name: getMessage()
nameWithType: EventHubException.getMessage()
returns:
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
syntax: public String getMessage()
uid: com.microsoft.azure.eventhubs.EventHubException.getMessage()
- 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)
uid: com.microsoft.azure.eventhubs.EventHubException.setContext(ErrorContext)
nameWithType: EventHubException
syntax: public class EventHubException
type: class
uid: com.microsoft.azure.eventhubs.EventHubException
fullName: com.microsoft.azure.eventhubs.EventHubException
name: EventHubException
package: com.microsoft.azure.eventhubs
summary: <p>This is the base exception that service bus will produce for all error cases. </p>
metadata: {}