A YXC call failed: the device could not be reached, answered with an HTTP error status, sent something that is not a JSON answer, or answered with a response_code other than 0.
More...
A YXC call failed: the device could not be reached, answered with an HTTP error status, sent something that is not a JSON answer, or answered with a response_code other than 0.
Names the call (path without query) and carries the code or status when there is one. The open-source libraries never look at either; yaacc does.
◆ getCall()
| String de.yaacc.yxc.YxcException.getCall |
( |
| ) |
|
- Returns
- the call, for example
dist/setServerInfo
◆ getHttpStatus()
| int de.yaacc.yxc.YxcException.getHttpStatus |
( |
| ) |
|
- Returns
- the HTTP status,
NONE if the failure is not one
◆ getResponseCode()
| int de.yaacc.yxc.YxcException.getResponseCode |
( |
| ) |
|
- Returns
- the
response_code of the answer, NONE if the failure is not one
The documentation for this class was generated from the following file:
- /github/workspace/yaacc/src/main/java/de/yaacc/yxc/YxcException.java