azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.batch.p...

92 строки
8.0 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.batch.protocol.models.BatchErrorException"
fullName: "com.microsoft.azure.batch.protocol.models.BatchErrorException"
name: "BatchErrorException"
nameWithType: "BatchErrorException"
summary: "Exception thrown for an invalid response with Batch<wbr>Error information."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Throwable?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Exception?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.RuntimeException?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.rest.RestException?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.microsoft.rest.RestException?alt=com.microsoft.rest.RestException&text=RestException\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.microsoft.rest.RestException.body()?alt=com.microsoft.rest.RestException.body&text=body\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.rest.RestException.response()?alt=com.microsoft.rest.RestException.response&text=response\" 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>"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html\">Throwable</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#addSuppressed-java.lang.Throwable-\">addSuppressed</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#fillInStackTrace--\">fillInStackTrace</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#getCause--\">getCause</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#getLocalizedMessage--\">getLocalizedMessage</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#getMessage--\">getMessage</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#getStackTrace--\">getStackTrace</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#getSuppressed--\">getSuppressed</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#initCause-java.lang.Throwable-\">initCause</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#printStackTrace--\">printStackTrace</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#printStackTrace-java.io.PrintStream-\">printStackTrace</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#printStackTrace-java.io.PrintWriter-\">printStackTrace</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#setStackTrace-java.lang.StackTraceElement:A-\">setStackTrace</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html#toString--\">toString</a>"
syntax: "public class **BatchErrorException**</br> extends <xref href=\"com.microsoft.rest.RestException?alt=com.microsoft.rest.RestException&text=RestException\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.microsoft.azure.batch.protocol.models.BatchErrorException.BatchErrorException(java.lang.String,retrofit2.Response<okhttp3.ResponseBody>)"
fullName: "com.microsoft.azure.batch.protocol.models.BatchErrorException.BatchErrorException(String message, Response<ResponseBody> response)"
name: "BatchErrorException(String message, Response<ResponseBody> response)"
nameWithType: "BatchErrorException.BatchErrorException(String message, Response<ResponseBody> response)"
summary: "Initializes a new instance of the Batch<wbr>Error<wbr>Exception class."
parameters:
- description: "the exception message or the response content if a message is not available"
name: "message"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the HTTP response"
name: "response"
type: "<xref href=\"retrofit2.Response?alt=retrofit2.Response&text=Response\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"okhttp3.ResponseBody?alt=okhttp3.ResponseBody&text=ResponseBody\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public BatchErrorException(String message, Response<ResponseBody> response)"
desc: "Initializes a new instance of the BatchErrorException class."
- uid: "com.microsoft.azure.batch.protocol.models.BatchErrorException.BatchErrorException(java.lang.String,retrofit2.Response<okhttp3.ResponseBody>,com.microsoft.azure.batch.protocol.models.BatchError)"
fullName: "com.microsoft.azure.batch.protocol.models.BatchErrorException.BatchErrorException(String message, Response<ResponseBody> response, BatchError body)"
name: "BatchErrorException(String message, Response<ResponseBody> response, BatchError body)"
nameWithType: "BatchErrorException.BatchErrorException(String message, Response<ResponseBody> response, BatchError body)"
summary: "Initializes a new instance of the Batch<wbr>Error<wbr>Exception class."
parameters:
- description: "the exception message or the response content if a message is not available"
name: "message"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the HTTP response"
name: "response"
type: "<xref href=\"retrofit2.Response?alt=retrofit2.Response&text=Response\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"okhttp3.ResponseBody?alt=okhttp3.ResponseBody&text=ResponseBody\" data-throw-if-not-resolved=\"False\" />&gt;"
- description: "the deserialized response body"
name: "body"
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.BatchError?alt=com.microsoft.azure.batch.protocol.models.BatchError&text=BatchError\" data-throw-if-not-resolved=\"False\" />"
syntax: "public BatchErrorException(String message, Response<ResponseBody> response, BatchError body)"
desc: "Initializes a new instance of the BatchErrorException class."
methods:
- uid: "com.microsoft.azure.batch.protocol.models.BatchErrorException.body()"
fullName: "com.microsoft.azure.batch.protocol.models.BatchErrorException.body()"
name: "body()"
nameWithType: "BatchErrorException.body()"
overridden: "com.microsoft.rest.RestException.body()"
syntax: "public BatchError body()"
returns:
type: "<xref href=\"com.microsoft.azure.batch.protocol.models.BatchError?alt=com.microsoft.azure.batch.protocol.models.BatchError&text=BatchError\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Exception thrown for an invalid response with BatchError information."
metadata: {}
package: "com.microsoft.azure.batch.protocol.models"
artifact: com.microsoft.azure:azure-batch:11.2.0