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
static ErrorResponse fromJson(String json)
java.lang.String getMessage()

Get the message

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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