IotHubException 类
定义
Super class for IotHub exceptions
public class IotHubException
- 继承
-
java.lang.ObjectExceptionIotHubException
构造函数
IotHubException() |
Instantiate a new IotHubException with no details. |
IotHubException(int errorCode, String message) |
Instantiate a new IotHubException. |
IotHubException(String message) |
Instantiate a new IotHubException. |
字段
errorCode |
Provides the HTTP error code, if applicable. This value will be a 6 digital error code such as 404001 if the service provided one in response message to the HTTP request. Otherwise it will be a 3 digit status code such as 404. For AMQP operations such as sending cloud to device messages, receiving message feedback, and getting file upload notifications, this field will not be populated. |
errorCodeDescription |
Provides the HTTP error code description, if applicable. For AMQP operations such as sending cloud to device messages, receiving message feedback, and getting file upload notifications, this field will not be populated. |