| java.lang.Object | |||
| ↳ | java.lang.Throwable | ||
| ↳ | java.lang.Error | ||
| ↳ | com.nexmo.sdk.conversation.client.event.ConversationClientException | ||
ConversationClientException indicates that an instance of ConversationClient cannot be acquired.
In most cases this means some mandatory params are not being set, and building a ConversationClient fails.
When exceptions are thrown, they should be caught by the application code.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
ConversationClientException()
Constructs a new ClientBuilderException that includes the current stack trace.
| |||||||||||
|
ConversationClientException(String message)
Constructs a new ClientBuilderException with the current stack trace and the specified detail message.
| |||||||||||
|
ConversationClientException(String message, Throwable throwable)
Constructs a new ClientBuilderException with the current stack trace, the specified detail message and the specified cause.
| |||||||||||
|
ConversationClientException(Throwable throwable)
Constructs a new ClientBuilderException with the current stack trace and the specified cause.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static void | appendExceptionCause(StringBuilder stringBuilder, String cause) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
Constructs a new ClientBuilderException that includes the current stack trace.
Constructs a new ClientBuilderException with the current stack trace and the specified detail message.
| message | The detail message for this exception. Accepts null. |
|---|
Constructs a new ClientBuilderException with the current stack trace, the specified detail message and the specified cause.
| message | The detail message for this exception. Accepts null. |
|---|---|
| throwable | The cause of this exception. |
Constructs a new ClientBuilderException with the current stack trace and the specified cause.
| throwable | The cause of this exception. |
|---|