ErrorMessageParser 类

定义

Representation of a single error message collection with a Json deserializer.

public class ErrorMessageParser
继承
java.lang.Object
ErrorMessageParser

方法

bestErrorCode(String fullErrorMessage)

Get the fully qualified error code from the http response message errorReason, if one exists.

bestErrorMessage(String fullErrorMessage)

Parse the fullErrorMessage from the IoTHub to find the root cause of the problem, after that, return a string with the best information about the issue

getDefaultErrorCode()

适用于