次の方法で共有


WorkItemConfigurationError Class

public final class WorkItemConfigurationError
extends ManagementError

Error associated with trying to get work item configuration or configurations.

Constructor Summary

Constructor Description
WorkItemConfigurationError()

Creates an instance of WorkItemConfigurationError class.

Method Summary

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

Reads an instance of WorkItemConfigurationError 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.

InnerError getInnererror()

Get the innererror property: Inner 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

Constructor Details

WorkItemConfigurationError

public WorkItemConfigurationError()

Creates an instance of WorkItemConfigurationError class.

Method Details

fromJson

public static WorkItemConfigurationError fromJson(JsonReader jsonReader)

Reads an instance of WorkItemConfigurationError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of WorkItemConfigurationError 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 WorkItemConfigurationError.

getAdditionalInfo

public List<AdditionalInfo> getAdditionalInfo()

Get the additionalInfo property: Additional info for the error.

Overrides:

WorkItemConfigurationError.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:

WorkItemConfigurationError.getCode()

Returns:

the code value.

getDetails

public List<ManagementError> getDetails()

Get the details property: Details for the error.

Overrides:

WorkItemConfigurationError.getDetails()

Returns:

the details value.

getInnererror

public InnerError getInnererror()

Get the innererror property: Inner 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:

WorkItemConfigurationError.getMessage()

Returns:

the message value.

getTarget

public String getTarget()

Get the target property: The target of the error.

Overrides:

WorkItemConfigurationError.getTarget()

Returns:

the target value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

WorkItemConfigurationError.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to