ErrorResponse Class

  • java.lang.Object
    • com.microsoft.azure.sdk.iot.device.hsm.parser.ErrorResponse

public class ErrorResponse

Json parser for the response received from an HSM unit upon a failed sign request

Constructor Summary

Constructor Description
ErrorResponse()

Method Summary

Modifier and Type Method and Description
ErrorResponse fromJson(String json)
String getMessage()

Get the message

Constructor Details

ErrorResponse

public ErrorResponse()

Method Details

fromJson

public static ErrorResponse fromJson(String json)

Parameters:

json

getMessage

public String getMessage()

Get the message

Returns:

the message

Applies to