azure-docs-sdk-java/docs-ref-autogen/com.azure.core.management.e...

143 строки
10 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.management.exception.ManagementError"
fullName: "com.azure.core.management.exception.ManagementError"
name: "ManagementError"
nameWithType: "ManagementError"
summary: "An instance of this class provides additional information about an http error response."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- 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#toString--\">toString</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 class **ManagementError**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&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;"
constructors:
- uid: "com.azure.core.management.exception.ManagementError.ManagementError()"
fullName: "com.azure.core.management.exception.ManagementError.ManagementError()"
name: "ManagementError()"
nameWithType: "ManagementError.ManagementError()"
summary: "Constructs a new <xref uid=\"? extends com.azure.core.management.exception.ManagementError\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ManagementError\"></xref> object."
syntax: "public ManagementError()"
desc: "Constructs a new <xref uid=\"? extends com.azure.core.management.exception.ManagementError\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ManagementError\"></xref> object."
- uid: "com.azure.core.management.exception.ManagementError.ManagementError(java.lang.String,java.lang.String)"
fullName: "com.azure.core.management.exception.ManagementError.ManagementError(String code, String message)"
name: "ManagementError(String code, String message)"
nameWithType: "ManagementError.ManagementError(String code, String message)"
summary: "Constructs a new <xref uid=\"? extends com.azure.core.management.exception.ManagementError\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ManagementError\"></xref> object."
parameters:
- description: "the error code."
name: "code"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the error message."
name: "message"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public ManagementError(String code, String message)"
desc: "Constructs a new <xref uid=\"? extends com.azure.core.management.exception.ManagementError\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ManagementError\"></xref> object."
methods:
- uid: "com.azure.core.management.exception.ManagementError.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.core.management.exception.ManagementError.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "ManagementError.fromJson(JsonReader jsonReader)"
summary: "Reads a JSON stream into a <xref uid=\"? extends com.azure.core.management.exception.ManagementError\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ManagementError\"></xref>."
modifiers:
- "static"
parameters:
- description: "The <xref uid=\"com.azure.json.JsonReader\" data-throw-if-not-resolved=\"false\" data-raw-source=\"JsonReader\"></xref> 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 ManagementError fromJson(JsonReader jsonReader)"
exceptions:
- description: "If a <xref uid=\"ManagementError\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ManagementError\"></xref> fails to be read from the <code>jsonReader</code>."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads a JSON stream into a <xref uid=\"? extends com.azure.core.management.exception.ManagementError\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ManagementError\"></xref>."
returns:
description: "The <xref uid=\"? extends com.azure.core.management.exception.ManagementError\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ManagementError\"></xref> that the JSON stream represented, or null if it pointed to JSON null."
type: "<xref href=\"com.azure.core.management.exception.ManagementError?alt=com.azure.core.management.exception.ManagementError&text=ManagementError\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.management.exception.ManagementError.getAdditionalInfo()"
fullName: "com.azure.core.management.exception.ManagementError.getAdditionalInfo()"
name: "getAdditionalInfo()"
nameWithType: "ManagementError.getAdditionalInfo()"
summary: "Gets the additional info for the error."
syntax: "public List<AdditionalInfo> getAdditionalInfo()"
desc: "Gets the additional info for the error."
returns:
description: "the additional info for the error."
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.core.management.exception.ManagementError.getCode()"
fullName: "com.azure.core.management.exception.ManagementError.getCode()"
name: "getCode()"
nameWithType: "ManagementError.getCode()"
summary: "Gets the error code parsed from the body of the http error response."
syntax: "public String getCode()"
desc: "Gets the error code parsed from the body of the http error response."
returns:
description: "the error code parsed from the body of the http error response."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.core.management.exception.ManagementError.getDetails()"
fullName: "com.azure.core.management.exception.ManagementError.getDetails()"
name: "getDetails()"
nameWithType: "ManagementError.getDetails()"
summary: "Gets the details for the error."
syntax: "public List<? extends ManagementError> getDetails()"
desc: "Gets the details for the error."
returns:
description: "the details for the error."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"? extends com.azure.core.management.exception.ManagementError?alt=? extends com.azure.core.management.exception.ManagementError&text=ManagementError\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.core.management.exception.ManagementError.getMessage()"
fullName: "com.azure.core.management.exception.ManagementError.getMessage()"
name: "getMessage()"
nameWithType: "ManagementError.getMessage()"
summary: "Gets the error message."
syntax: "public String getMessage()"
desc: "Gets the error message."
returns:
description: "the error message."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.core.management.exception.ManagementError.getTarget()"
fullName: "com.azure.core.management.exception.ManagementError.getTarget()"
name: "getTarget()"
nameWithType: "ManagementError.getTarget()"
summary: "Gets the target of the error."
syntax: "public String getTarget()"
desc: "Gets the target of the error."
returns:
description: "the target of the error."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.core.management.exception.ManagementError.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.core.management.exception.ManagementError.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "ManagementError.toJson(JsonWriter 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.core.management.exception.ManagementError.toString()"
fullName: "com.azure.core.management.exception.ManagementError.toString()"
name: "toString()"
nameWithType: "ManagementError.toString()"
overridden: "java.lang.Object.toString()"
syntax: "public String toString()"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "class"
desc: "An instance of this class provides additional information about an http error response."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&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;"
metadata: {}
package: "com.azure.core.management.exception"
artifact: com.azure:azure-core-management:1.15.5