public class DatabusClientRuntimeException
extends java.lang.RuntimeException
The SDK's user is responsible for handling this run time exceptions when a API method is called.
The original exception that
can be recovered by using Throwable.getCause() method.
| Constructor and Description |
|---|
DatabusClientRuntimeException(java.lang.String message,
java.lang.Class causedByClass)
Constructor with message and causedByClass parameters
|
DatabusClientRuntimeException(java.lang.String message,
java.lang.Throwable cause,
java.lang.Class causedByClass)
Constructor with all parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCausedByClass()
Gets the class name of the thew exception
|
public DatabusClientRuntimeException(java.lang.String message,
java.lang.Throwable cause,
java.lang.Class causedByClass)
message - The exception messagecause - The exception causecausedByClass - The class name which triggers the exceptionpublic DatabusClientRuntimeException(java.lang.String message,
java.lang.Class causedByClass)
message - The exception messagecausedByClass - The class name which triggers the exception