WebexConnectRestException

Constructor for the exception with an underlying error.

Constructor for the exception with an underlying error.

Constructors

WebexConnectRestException(error: Throwable)

Constructor for the exception with an underlying error.

Syntax: constructor(error: Throwable?)

Parameters

ParameterTypeDescription
errorThrowable?The underlying error that caused the exception.

WebexConnectRestException(responseCode: Int, message: String)

Constructor for the exception with a response code and message.

Syntax:constructor(responseCode: Int, message: String?)

Parameters

ParameterTypeDescription
responseCodeIntThe HTTP response code associated with the exception.
messageStringThe error message associated with the exception.