azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

60 строки
3.9 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.monitor.ResponseWithError"
fullName: "com.microsoft.azure.management.monitor.ResponseWithError"
name: "ResponseWithError"
nameWithType: "ResponseWithError"
summary: "An error response from the API."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **ResponseWithError**"
constructors:
- uid: "com.microsoft.azure.management.monitor.ResponseWithError.ResponseWithError()"
fullName: "com.microsoft.azure.management.monitor.ResponseWithError.ResponseWithError()"
name: "ResponseWithError()"
nameWithType: "ResponseWithError.ResponseWithError()"
syntax: "public ResponseWithError()"
methods:
- uid: "com.microsoft.azure.management.monitor.ResponseWithError.error()"
fullName: "com.microsoft.azure.management.monitor.ResponseWithError.error()"
name: "error()"
nameWithType: "ResponseWithError.error()"
summary: "Get error information."
syntax: "public Error error()"
desc: "Get error information."
returns:
description: "the error value"
type: "<xref href=\"com.microsoft.azure.management.monitor.Error?alt=com.microsoft.azure.management.monitor.Error&text=Error\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.ResponseWithError.withError(com.microsoft.azure.management.monitor.Error)"
fullName: "com.microsoft.azure.management.monitor.ResponseWithError.withError(Error error)"
name: "withError(Error error)"
nameWithType: "ResponseWithError.withError(Error error)"
summary: "Set error information."
parameters:
- description: "the error value to set"
name: "error"
type: "<xref href=\"com.microsoft.azure.management.monitor.Error?alt=com.microsoft.azure.management.monitor.Error&text=Error\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ResponseWithError withError(Error error)"
desc: "Set error information."
returns:
description: "the ResponseWithError object itself."
type: "<xref href=\"com.microsoft.azure.management.monitor.ResponseWithError?alt=com.microsoft.azure.management.monitor.ResponseWithError&text=ResponseWithError\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "An error response from the API."
metadata: {}
package: "com.microsoft.azure.management.monitor"
artifact: com.microsoft.azure:azure-mgmt-monitor:1.41.4