ActivityHandler.InvokeResponseException Class
- 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 Exception.
Constructor Summary
| Constructor | Description |
|---|---|
| InvokeResponseException(int withStatusCode) |
Initializes new instance with HTTP status code value. |
| InvokeResponseException(int withStatusCode, Object withBody) |
Initializes new instance with HTTP status code value. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Invoke |
createInvokeResponse()
Returns an Invoke |
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
Constructor Details
InvokeResponseException
public InvokeResponseException(int withStatusCode)
Initializes new instance with HTTP status code value.
Parameters:
InvokeResponseException
public InvokeResponseException(int withStatusCode, Object withBody)
Initializes new instance with HTTP status code value.
Parameters:
Method Details
createInvokeResponse
public InvokeResponse createInvokeResponse()
Returns an InvokeResponse based on this exception.
Returns: