ErrorResponse Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. ErrorResponse
- com.
Implements
public final class ErrorResponse
implements JsonSerializable<ErrorResponse>
Error Response Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
Constructor Summary
| Constructor | Description |
|---|---|
| ErrorResponse() |
Creates an instance of Error |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Error |
fromJson(JsonReader jsonReader)
Reads an instance of Error |
|
List<Error |
getAdditionalInfo()
Get the additional |
| String |
getCode()
Get the code property: The error code. |
|
List<Error |
getDetails()
Get the details property: The error details. |
| String |
getMessage()
Get the message property: The error message. |
| String |
getTarget()
Get the target property: The error target. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
ErrorResponse
public ErrorResponse()
Creates an instance of ErrorResponse class.
Method Details
fromJson
public static ErrorResponse fromJson(JsonReader jsonReader)
Reads an instance of ErrorResponse from the JsonReader.
Parameters:
Returns:
Throws:
getAdditionalInfo
public List<ErrorAdditionalInfo> getAdditionalInfo()
Get the additionalInfo property: The error additional info.
Returns:
getCode
public String getCode()
Get the code property: The error code.
Returns:
getDetails
public List<ErrorResponse> getDetails()
Get the details property: The error details.
Returns:
getMessage
public String getMessage()
Get the message property: The error message.
Returns:
getTarget
public String getTarget()
Get the target property: The error target.
Returns: