ProvisioningErrorParser Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. provisioning. device. internal. parser. ProvisioningErrorParser
- com.
public class ProvisioningErrorParser
Method Summary
Modifier and Type | Method and Description |
---|---|
Provisioning |
createFromJson(String json) |
String |
getExceptionMessage()
Creates a descriptive error message based on the json that constructed this object |
Method Details
createFromJson
public static ProvisioningErrorParser createFromJson(String json)
Parameters:
json
getExceptionMessage
public String getExceptionMessage()
Creates a descriptive error message based on the json that constructed this object
Returns:
the error message to throw