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

91 строка
5.7 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.management.polling.PollResult.Error"
fullName: "com.azure.core.management.polling.PollResult.Error"
name: "PollResult.Error"
nameWithType: "PollResult.Error"
summary: "Type represents the error that poll-operation received from the service."
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 static class **PollResult.Error**"
constructors:
- uid: "com.azure.core.management.polling.PollResult.Error.Error(java.lang.String,int,com.azure.core.http.HttpHeaders,java.lang.String)"
fullName: "com.azure.core.management.polling.PollResult.Error.Error(String message, int responseStatusCode, HttpHeaders responseHeaders, String responseBody)"
name: "Error(String message, int responseStatusCode, HttpHeaders responseHeaders, String responseBody)"
nameWithType: "PollResult.Error.Error(String message, int responseStatusCode, HttpHeaders responseHeaders, String responseBody)"
summary: "Creates Error."
parameters:
- description: "the error message"
name: "message"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the http status code associated with the error"
name: "responseStatusCode"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- description: "the http response headers associated with the error"
name: "responseHeaders"
type: "<xref href=\"com.azure.core.http.HttpHeaders?alt=com.azure.core.http.HttpHeaders&text=HttpHeaders\" data-throw-if-not-resolved=\"False\" />"
- description: "the http response body associated with the error"
name: "responseBody"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public Error(String message, int responseStatusCode, HttpHeaders responseHeaders, String responseBody)"
desc: "Creates Error."
methods:
- uid: "com.azure.core.management.polling.PollResult.Error.getMessage()"
fullName: "com.azure.core.management.polling.PollResult.Error.getMessage()"
name: "getMessage()"
nameWithType: "PollResult.Error.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.polling.PollResult.Error.getResponseBody()"
fullName: "com.azure.core.management.polling.PollResult.Error.getResponseBody()"
name: "getResponseBody()"
nameWithType: "PollResult.Error.getResponseBody()"
summary: "Gets the response body associated with the error."
syntax: "public String getResponseBody()"
desc: "Gets the response body associated with the error."
returns:
description: "the response body associated with the error"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.core.management.polling.PollResult.Error.getResponseHeaders()"
fullName: "com.azure.core.management.polling.PollResult.Error.getResponseHeaders()"
name: "getResponseHeaders()"
nameWithType: "PollResult.Error.getResponseHeaders()"
summary: "Gets the response headers associated with the error."
syntax: "public HttpHeaders getResponseHeaders()"
desc: "Gets the response headers associated with the error."
returns:
description: "the response headers associated with the error"
type: "<xref href=\"com.azure.core.http.HttpHeaders?alt=com.azure.core.http.HttpHeaders&text=HttpHeaders\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.management.polling.PollResult.Error.getResponseStatusCode()"
fullName: "com.azure.core.management.polling.PollResult.Error.getResponseStatusCode()"
name: "getResponseStatusCode()"
nameWithType: "PollResult.Error.getResponseStatusCode()"
summary: "Gets the response status code associated with the error."
syntax: "public int getResponseStatusCode()"
desc: "Gets the response status code associated with the error."
returns:
description: "the response status code associated with the error"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Type represents the error that poll-operation received from the service."
metadata: {}
package: "com.azure.core.management.polling"
artifact: com.azure:azure-core-management:1.15.5