public class

ConversationClientException

extends Error
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Error
       ↳ com.nexmo.sdk.conversation.client.event.ConversationClientException

Class Overview

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.

Summary

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

Public Constructors

public ConversationClientException ()

Constructs a new ClientBuilderException that includes the current stack trace.

public ConversationClientException (String message)

Constructs a new ClientBuilderException with the current stack trace and the specified detail message.

Parameters
message The detail message for this exception. Accepts null.

public ConversationClientException (String message, Throwable throwable)

Constructs a new ClientBuilderException with the current stack trace, the specified detail message and the specified cause.

Parameters
message The detail message for this exception. Accepts null.
throwable The cause of this exception.

public ConversationClientException (Throwable throwable)

Constructs a new ClientBuilderException with the current stack trace and the specified cause.

Parameters
throwable The cause of this exception.

Public Methods

public static void appendExceptionCause (StringBuilder stringBuilder, String cause)