ActivityHandler.InvokeResponseException Clase

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

protected class ActivityHandler.InvokeResponseException
extends java.lang.Exception

Excepción InvokeResponse.

Resumen del constructor

Constructor Description
InvokeResponseException(int withStatusCode)

Inicializa una nueva instancia con el valor de código de estado HTTP.

InvokeResponseException(int withStatusCode, Object withBody)

Inicializa una nueva instancia con el valor de código de estado HTTP.

Resumen del método

Modificador y tipo Método y descripción
InvokeResponse createInvokeResponse()

Devuelve unaInvokeResponse en función de esta excepción.

Métodos heredados 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 heredados 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

Detalles del constructor

InvokeResponseException

public InvokeResponseException(int withStatusCode)

Inicializa una nueva instancia con el valor de código de estado HTTP.

Parámetros:

withStatusCode - Código de estado HTTP.

InvokeResponseException

public InvokeResponseException(int withStatusCode, Object withBody)

Inicializa una nueva instancia con el valor de código de estado HTTP.

Parámetros:

withStatusCode - Código de estado HTTP.
withBody - El cuerpo. Puede ser NULL.

Detalles del método

createInvokeResponse

public InvokeResponse createInvokeResponse()

Devuelve un invokeResponse basado en esta excepción.

Devoluciones:

Valor InvokeResponse.

Se aplica a