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