### YamlMime:JavaType
uid: "com.microsoft.azure.servicebus.primitives.ServiceBusException"
fullName: "com.microsoft.azure.servicebus.primitives.ServiceBusException"
name: "ServiceBusException"
nameWithType: "ServiceBusException"
summary: "This is the base exception that service bus will generate for all error cases."
inheritances:
- ""
- ""
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "wait"
- "wait"
- "wait"
- classRef: "java.lang.Throwable"
methodsRef:
- "addSuppressed"
- "fillInStackTrace"
- "getCause"
- "getLocalizedMessage"
- "getMessage"
- "getStackTrace"
- "getSuppressed"
- "initCause"
- "printStackTrace"
- "printStackTrace"
- "printStackTrace"
- "setStackTrace"
- "toString"
syntax: "public class **ServiceBusException** extends Exception"
constructors:
- uid: "com.microsoft.azure.servicebus.primitives.ServiceBusException.ServiceBusException(boolean)"
fullName: "com.microsoft.azure.servicebus.primitives.ServiceBusException.ServiceBusException(boolean isTransient)"
name: "ServiceBusException(boolean isTransient)"
nameWithType: "ServiceBusException.ServiceBusException(boolean isTransient)"
parameters:
- name: "isTransient"
type: ""
syntax: "public ServiceBusException(boolean isTransient)"
- uid: "com.microsoft.azure.servicebus.primitives.ServiceBusException.ServiceBusException(boolean,java.lang.String)"
fullName: "com.microsoft.azure.servicebus.primitives.ServiceBusException.ServiceBusException(boolean isTransient, String message)"
name: "ServiceBusException(boolean isTransient, String message)"
nameWithType: "ServiceBusException.ServiceBusException(boolean isTransient, String message)"
parameters:
- name: "isTransient"
type: ""
- name: "message"
type: "String"
syntax: "public ServiceBusException(boolean isTransient, String message)"
- uid: "com.microsoft.azure.servicebus.primitives.ServiceBusException.ServiceBusException(boolean,java.lang.String,java.lang.Throwable)"
fullName: "com.microsoft.azure.servicebus.primitives.ServiceBusException.ServiceBusException(boolean isTransient, String message, Throwable cause)"
name: "ServiceBusException(boolean isTransient, String message, Throwable cause)"
nameWithType: "ServiceBusException.ServiceBusException(boolean isTransient, String message, Throwable cause)"
parameters:
- name: "isTransient"
type: ""
- name: "message"
type: "String"
- name: "cause"
type: "Throwable"
syntax: "public ServiceBusException(boolean isTransient, String message, Throwable cause)"
- uid: "com.microsoft.azure.servicebus.primitives.ServiceBusException.ServiceBusException(boolean,java.lang.Throwable)"
fullName: "com.microsoft.azure.servicebus.primitives.ServiceBusException.ServiceBusException(boolean isTransient, Throwable cause)"
name: "ServiceBusException(boolean isTransient, Throwable cause)"
nameWithType: "ServiceBusException.ServiceBusException(boolean isTransient, Throwable cause)"
parameters:
- name: "isTransient"
type: ""
- name: "cause"
type: "Throwable"
syntax: "public ServiceBusException(boolean isTransient, Throwable cause)"
methods:
- uid: "com.microsoft.azure.servicebus.primitives.ServiceBusException.getContext()"
fullName: "com.microsoft.azure.servicebus.primitives.ServiceBusException.getContext()"
name: "getContext()"
nameWithType: "ServiceBusException.getContext()"
syntax: "public ErrorContext getContext()"
returns:
type: ""
- uid: "com.microsoft.azure.servicebus.primitives.ServiceBusException.getIsTransient()"
fullName: "com.microsoft.azure.servicebus.primitives.ServiceBusException.getIsTransient()"
name: "getIsTransient()"
nameWithType: "ServiceBusException.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: ""
- uid: "com.microsoft.azure.servicebus.primitives.ServiceBusException.getMessage()"
fullName: "com.microsoft.azure.servicebus.primitives.ServiceBusException.getMessage()"
name: "getMessage()"
nameWithType: "ServiceBusException.getMessage()"
overridden: "java.lang.Throwable.getMessage()"
syntax: "public String getMessage()"
returns:
type: "String"
type: "class"
desc: "This is the base exception that service bus will generate for all error cases."
metadata: {}
package: "com.microsoft.azure.servicebus.primitives"
artifact: com.microsoft.azure:azure-servicebus:3.6.7