ActivityHandler.InvokeResponseException クラス

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

protected class ActivityHandler.InvokeResponseException
extends java.lang.Exception

InvokeResponse 例外。

コンストラクターの概要

コンストラクター 説明
InvokeResponseException(int withStatusCode)

HTTP 状態コード値を使用して新しいインスタンスを初期化します。

InvokeResponseException(int withStatusCode, Object withBody)

HTTP 状態コード値を使用して新しいインスタンスを初期化します。

メソッドの概要

修飾子と型 メソッドと説明
InvokeResponse createInvokeResponse()

この例外に基づいて、応答の呼び出しを返します。

メソッドの継承元: 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

メソッドの継承元: 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

コンストラクターの詳細

InvokeResponseException

public InvokeResponseException(int withStatusCode)

HTTP 状態コード値を使用して新しいインスタンスを初期化します。

パラメーター:

withStatusCode - HTTP 状態コード。

InvokeResponseException

public InvokeResponseException(int withStatusCode, Object withBody)

HTTP 状態コード値を使用して新しいインスタンスを初期化します。

パラメーター:

withStatusCode - HTTP 状態コード。
withBody - 本文。 null を指定できます。

メソッドの詳細

createInvokeResponse

public InvokeResponse createInvokeResponse()

この例外に基づいて InvokeResponse を返します。

戻り値:

InvokeResponse 値。

適用対象