public class EventHubException extends Exception
| Constructor and Description |
|---|
EventHubException(boolean isTransient,
String message) |
EventHubException(boolean isTransient,
String message,
Throwable cause) |
EventHubException(boolean isTransient,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
ErrorContext |
getContext() |
boolean |
getIsTransient()
A boolean indicating if the exception is a transient error or not.
|
String |
getMessage() |
void |
setContext(ErrorContext errorContext) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic EventHubException(boolean isTransient,
String message)
public EventHubException(boolean isTransient,
Throwable cause)
public String getMessage()
getMessage in class Throwablepublic boolean getIsTransient()
public ErrorContext getContext()
public void setContext(ErrorContext errorContext)
Copyright © 2019 Microsoft Corporation. All rights reserved.