DefaultErrorResponseError Class

public final class DefaultErrorResponseError
extends ManagementError

App Service error response.

Method Summary

Modifier and Type Method and Description
static DefaultErrorResponseError fromJson(JsonReader jsonReader)

Reads an instance of DefaultErrorResponseError from the JsonReader.

List<AdditionalInfo> getAdditionalInfo()

Get the additionalInfo property: Additional info for the error.

String getCode()

Get the code property: The error code parsed from the body of the http error response.

List<ManagementError> getDetails()

Get the details property: Details for the error.

String getInnererror()

Get the innererror property: More information to debug error.

String getMessage()

Get the message property: The error message parsed from the body of the http error response.

String getTarget()

Get the target property: The target of the error.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from ManagementError

Methods inherited from java.lang.Object

Method Details

fromJson

public static DefaultErrorResponseError fromJson(JsonReader jsonReader)

Reads an instance of DefaultErrorResponseError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DefaultErrorResponseError if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DefaultErrorResponseError.

getAdditionalInfo

public List<AdditionalInfo> getAdditionalInfo()

Get the additionalInfo property: Additional info for the error.

Overrides:

DefaultErrorResponseError.getAdditionalInfo()

Returns:

the additionalInfo value.

getCode

public String getCode()

Get the code property: The error code parsed from the body of the http error response.

Overrides:

DefaultErrorResponseError.getCode()

Returns:

the code value.

getDetails

public List<ManagementError> getDetails()

Get the details property: Details for the error.

Overrides:

DefaultErrorResponseError.getDetails()

Returns:

the details value.

getInnererror

public String getInnererror()

Get the innererror property: More information to debug error.

Returns:

the innererror value.

getMessage

public String getMessage()

Get the message property: The error message parsed from the body of the http error response.

Overrides:

DefaultErrorResponseError.getMessage()

Returns:

the message value.

getTarget

public String getTarget()

Get the target property: The target of the error.

Overrides:

DefaultErrorResponseError.getTarget()

Returns:

the target value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DefaultErrorResponseError.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to