azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.n...

152 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.network.models.Error"
fullName: "com.azure.resourcemanager.network.models.Error"
name: "Error"
nameWithType: "Error"
summary: "Common error representation."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.exception.ManagementError?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.core.management.exception.ManagementError?alt=com.azure.core.management.exception.ManagementError&text=ManagementError\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.core.management.exception.ManagementError.fromJson(com.azure.json.JsonReader)?alt=com.azure.core.management.exception.ManagementError.fromJson&text=fromJson\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.exception.ManagementError.getAdditionalInfo()?alt=com.azure.core.management.exception.ManagementError.getAdditionalInfo&text=getAdditionalInfo\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.exception.ManagementError.getCode()?alt=com.azure.core.management.exception.ManagementError.getCode&text=getCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.exception.ManagementError.getDetails()?alt=com.azure.core.management.exception.ManagementError.getDetails&text=getDetails\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.exception.ManagementError.getMessage()?alt=com.azure.core.management.exception.ManagementError.getMessage&text=getMessage\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.exception.ManagementError.getTarget()?alt=com.azure.core.management.exception.ManagementError.getTarget&text=getTarget\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.exception.ManagementError.toJson(com.azure.json.JsonWriter)?alt=com.azure.core.management.exception.ManagementError.toJson&text=toJson\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.management.exception.ManagementError.toString()?alt=com.azure.core.management.exception.ManagementError.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **Error**</br> extends <xref href=\"com.azure.core.management.exception.ManagementError?alt=com.azure.core.management.exception.ManagementError&text=ManagementError\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.azure.resourcemanager.network.models.Error.Error()"
fullName: "com.azure.resourcemanager.network.models.Error.Error()"
name: "Error()"
nameWithType: "Error.Error()"
summary: "Creates an instance of Error class."
syntax: "public Error()"
desc: "Creates an instance of Error class."
methods:
- uid: "com.azure.resourcemanager.network.models.Error.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.network.models.Error.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "Error.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Error from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static Error fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the Error."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of Error from the JsonReader."
returns:
description: "An instance of Error if the JsonReader was pointing to an instance of it, or null if it was pointing to\n JSON null."
type: "<xref href=\"com.azure.resourcemanager.network.models.Error?alt=com.azure.resourcemanager.network.models.Error&text=Error\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.Error.getAdditionalInfo()"
fullName: "com.azure.resourcemanager.network.models.Error.getAdditionalInfo()"
name: "getAdditionalInfo()"
nameWithType: "Error.getAdditionalInfo()"
summary: "Get the additional<wbr>Info property: Additional info for the error."
overridden: "com.azure.core.management.exception.ManagementError.getAdditionalInfo()"
syntax: "public List<AdditionalInfo> getAdditionalInfo()"
desc: "Get the additionalInfo property: Additional info for the error."
returns:
description: "the additionalInfo value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.core.management.exception.AdditionalInfo?alt=com.azure.core.management.exception.AdditionalInfo&text=AdditionalInfo\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.network.models.Error.getCode()"
fullName: "com.azure.resourcemanager.network.models.Error.getCode()"
name: "getCode()"
nameWithType: "Error.getCode()"
summary: "Get the code property: The error code parsed from the body of the http error response."
overridden: "com.azure.core.management.exception.ManagementError.getCode()"
syntax: "public String getCode()"
desc: "Get the code property: The error code parsed from the body of the http error response."
returns:
description: "the code value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.Error.getDetails()"
fullName: "com.azure.resourcemanager.network.models.Error.getDetails()"
name: "getDetails()"
nameWithType: "Error.getDetails()"
summary: "Get the details property: Details for the error."
overridden: "com.azure.core.management.exception.ManagementError.getDetails()"
syntax: "public List<ManagementError> getDetails()"
desc: "Get the details property: Details for the error."
returns:
description: "the details value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.core.management.exception.ManagementError?alt=com.azure.core.management.exception.ManagementError&text=ManagementError\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.network.models.Error.getInnerError()"
fullName: "com.azure.resourcemanager.network.models.Error.getInnerError()"
name: "getInnerError()"
nameWithType: "Error.getInnerError()"
summary: "Get the inner<wbr>Error property: Inner error message."
syntax: "public String getInnerError()"
desc: "Get the innerError property: Inner error message."
returns:
description: "the innerError value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.Error.getMessage()"
fullName: "com.azure.resourcemanager.network.models.Error.getMessage()"
name: "getMessage()"
nameWithType: "Error.getMessage()"
summary: "Get the message property: The error message parsed from the body of the http error response."
overridden: "com.azure.core.management.exception.ManagementError.getMessage()"
syntax: "public String getMessage()"
desc: "Get the message property: The error message parsed from the body of the http error response."
returns:
description: "the message value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.Error.getTarget()"
fullName: "com.azure.resourcemanager.network.models.Error.getTarget()"
name: "getTarget()"
nameWithType: "Error.getTarget()"
summary: "Get the target property: The target of the error."
overridden: "com.azure.core.management.exception.ManagementError.getTarget()"
syntax: "public String getTarget()"
desc: "Get the target property: The target of the error."
returns:
description: "the target value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.Error.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.network.models.Error.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "Error.toJson(JsonWriter jsonWriter)"
overridden: "com.azure.core.management.exception.ManagementError.toJson(com.azure.json.JsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.Error.validate()"
fullName: "com.azure.resourcemanager.network.models.Error.validate()"
name: "validate()"
nameWithType: "Error.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
type: "class"
desc: "Common error representation."
metadata: {}
package: "com.azure.resourcemanager.network.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.42.0