azure-docs-sdk-java/docs-ref-autogen/com.azure.core.test.models....

90 строки
5.7 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.test.models.NetworkCallError"
fullName: "com.azure.core.test.models.NetworkCallError"
name: "NetworkCallError"
nameWithType: "NetworkCallError"
summary: "This class represents a caught throwable during a network call."
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 **NetworkCallError**"
constructors:
- uid: "com.azure.core.test.models.NetworkCallError.NetworkCallError()"
fullName: "com.azure.core.test.models.NetworkCallError.NetworkCallError()"
name: "NetworkCallError()"
nameWithType: "NetworkCallError.NetworkCallError()"
summary: "Empty constructor used by deserialization."
syntax: "public NetworkCallError()"
desc: "Empty constructor used by deserialization."
- uid: "com.azure.core.test.models.NetworkCallError.NetworkCallError(java.lang.Throwable)"
fullName: "com.azure.core.test.models.NetworkCallError.NetworkCallError(Throwable throwable)"
name: "NetworkCallError(Throwable throwable)"
nameWithType: "NetworkCallError.NetworkCallError(Throwable throwable)"
summary: "Constructs the class setting the throwable and its class name."
parameters:
- description: "Throwable thrown during a network call."
name: "throwable"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html\">Throwable</a>"
syntax: "public NetworkCallError(Throwable throwable)"
desc: "Constructs the class setting the throwable and its class name."
methods:
- uid: "com.azure.core.test.models.NetworkCallError.get()"
fullName: "com.azure.core.test.models.NetworkCallError.get()"
name: "get()"
nameWithType: "NetworkCallError.get()"
syntax: "public Throwable get()"
returns:
description: "the thrown throwable as the class it was thrown as by converting is using its class name."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html\">Throwable</a>"
- uid: "com.azure.core.test.models.NetworkCallError.setClassName(java.lang.String)"
fullName: "com.azure.core.test.models.NetworkCallError.setClassName(String className)"
name: "setClassName(String className)"
nameWithType: "NetworkCallError.setClassName(String className)"
summary: "Sets the name of the class of the throwable."
parameters:
- description: "Class name of the throwable."
name: "className"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public void setClassName(String className)"
desc: "Sets the name of the class of the throwable. This is used during deserialization the construct the throwable as the actual class that was thrown."
- uid: "com.azure.core.test.models.NetworkCallError.setErrorMessage(java.lang.String)"
fullName: "com.azure.core.test.models.NetworkCallError.setErrorMessage(String errorMessage)"
name: "setErrorMessage(String errorMessage)"
nameWithType: "NetworkCallError.setErrorMessage(String errorMessage)"
summary: "Sets the error message of the class of the throwable."
parameters:
- description: "Error msg from the exception."
name: "errorMessage"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public void setErrorMessage(String errorMessage)"
desc: "Sets the error message of the class of the throwable. This is used during deserialization the construct the throwable as the actual class that was thrown."
- uid: "com.azure.core.test.models.NetworkCallError.setThrowable(java.lang.Throwable)"
fullName: "com.azure.core.test.models.NetworkCallError.setThrowable(Throwable throwable)"
name: "setThrowable(Throwable throwable)"
nameWithType: "NetworkCallError.setThrowable(Throwable throwable)"
summary: "Sets the throwable that was thrown during a network call."
parameters:
- description: "Throwable that was thrown."
name: "throwable"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html\">Throwable</a>"
syntax: "public void setThrowable(Throwable throwable)"
desc: "Sets the throwable that was thrown during a network call."
type: "class"
desc: "This class represents a caught throwable during a network call. It is used to serialize exceptions that were thrown during the pipeline and deserialize them back into their actual throwable class when running in playback mode."
metadata: {}
package: "com.azure.core.test.models"
artifact: com.azure:azure-core-test:1.26.2