ActivityHandler.InvokeResponseException 類別
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - com.
microsoft. bot. builder. ActivityHandler. InvokeResponseException
- com.
- java.
- java.
protected class ActivityHandler.InvokeResponseException
extends java.lang.Exception
InvokeResponse 例外狀況。
建構函式摘要
| 建構函式 | Description |
|---|---|
| InvokeResponseException(int withStatusCode) |
使用 HTTP 狀態代碼值初始化新的實例。 |
| InvokeResponseException(int withStatusCode, Object withBody) |
使用 HTTP 狀態代碼值初始化新的實例。 |
方法摘要
| 修飾詞與類型 | 方法與描述 |
|---|---|
|
Invoke |
createInvokeResponse()
根據這個例外狀況傳回 Invoke |
方法繼承來源 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 值。