ActivityHandler.InvokeResponseException Classe

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • com.microsoft.bot.builder.ActivityHandler.InvokeResponseException

protected class ActivityHandler.InvokeResponseException
extends java.lang.Exception

Exceção InvokeResponse.

Resumo do Construtor

Construtor Description
InvokeResponseException(int withStatusCode)

Inicializa a nova instância com o valor do código de status HTTP.

InvokeResponseException(int withStatusCode, Object withBody)

Inicializa a nova instância com o valor do código de status HTTP.

Resumo do método

Modificador e tipo Método e descrição
InvokeResponse createInvokeResponse()

Retorna uma Resposta de Invocaçãocom base nessa exceção.

Métodos herdados de java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Métodos herdados de java.lang.Throwable

java.lang.Throwable.addSuppressed java.lang.Throwable.fillInStackTrace java.lang.Throwable.getCause java.lang.Throwable.getLocalizedMessage java.lang.Throwable.getMessage java.lang.Throwable.getStackTrace java.lang.Throwable.getSuppressed java.lang.Throwable.initCause java.lang.Throwable.printStackTrace java.lang.Throwable.printStackTrace java.lang.Throwable.printStackTrace java.lang.Throwable.setStackTrace java.lang.Throwable.toString

Detalhes do construtor

InvokeResponseException

public InvokeResponseException(int withStatusCode)

Inicializa a nova instância com o valor do código de status HTTP.

Parameters:

withStatusCode - O código de status do HTTP.

InvokeResponseException

public InvokeResponseException(int withStatusCode, Object withBody)

Inicializa a nova instância com o valor do código de status HTTP.

Parameters:

withStatusCode - O código de status do HTTP.
withBody - O corpo. Pode ser nulo.

Detalhes do método

createInvokeResponse

public InvokeResponse createInvokeResponse()

Retorna um InvokeResponse com base nessa exceção.

Returns:

O valor InvokeResponse.

Aplica-se a