ActivityHandler.InvokeResponseException Klasse

  • 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.

Zusammenfassung zum Konstruktor

Konstruktor Beschreibung
InvokeResponseException(int withStatusCode)

Initialisiert neue Instanz mit DEM HTTP-Statuscodewert.

InvokeResponseException(int withStatusCode, Object withBody)

Initialisiert neue Instanz mit DEM HTTP-Statuscodewert.

Methodenzusammenfassung

Modifizierer und Typ Methode und Beschreibung
InvokeResponse createInvokeResponse()

Gibt einen AufrufAntwort basierend auf dieser Ausnahme zurück.

Geerbte Methoden von 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

Geerbte Methoden von 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

Details zum Konstruktor

InvokeResponseException

public InvokeResponseException(int withStatusCode)

Initialisiert neue Instanz mit DEM HTTP-Statuscodewert.

Parameter:

withStatusCode - Der HTTP-Statuscode.

InvokeResponseException

public InvokeResponseException(int withStatusCode, Object withBody)

Initialisiert neue Instanz mit DEM HTTP-Statuscodewert.

Parameter:

withStatusCode - Der HTTP-Statuscode.
withBody - Der Körper. Kann null sein.

Details zur Methode

createInvokeResponse

public InvokeResponse createInvokeResponse()

Gibt eine InvokeResponse basierend auf dieser Ausnahme zurück.

Gibt zurück:

Der InvokeResponse-Wert.

Gilt für: