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

InvokeResponse Exception.

Riepilogo dei costruttori

Costruttore Descrizione
InvokeResponseException(int withStatusCode)

Inizializza una nuova istanza con il valore del codice di stato HTTP.

InvokeResponseException(int withStatusCode, Object withBody)

Inizializza una nuova istanza con il valore del codice di stato HTTP.

Riepilogo dei metodi

Modificatore e tipo Metodo e descrizione
InvokeResponse createInvokeResponse()

Restituisce un oggetto InvokeResponse in base a questa eccezione.

Metodi ereditati da 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

Metodi ereditati da 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

Dettagli costruttore

InvokeResponseException

public InvokeResponseException(int withStatusCode)

Inizializza una nuova istanza con il valore del codice di stato HTTP.

Parametri:

withStatusCode - Codice di stato HTTP.

InvokeResponseException

public InvokeResponseException(int withStatusCode, Object withBody)

Inizializza una nuova istanza con il valore del codice di stato HTTP.

Parametri:

withStatusCode - Codice di stato HTTP.
withBody - Il corpo. Può essere Null.

Dettagli metodo

createInvokeResponse

public InvokeResponse createInvokeResponse()

Restituisce un oggetto InvokeResponse basato su questa eccezione.

Restituisce:

Valore InvokeResponse.

Si applica a