63 строки
3.5 KiB
YAML
63 строки
3.5 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.messaging.eventhubs.models.ErrorContext"
|
|
fullName: "com.azure.messaging.eventhubs.models.ErrorContext"
|
|
name: "ErrorContext"
|
|
nameWithType: "ErrorContext"
|
|
summary: "This class contains information about an error that occurred while processing events."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedMembers:
|
|
- "java.lang.Object.clone()"
|
|
- "java.lang.Object.equals(java.lang.Object)"
|
|
- "java.lang.Object.finalize()"
|
|
- "java.lang.Object.getClass()"
|
|
- "java.lang.Object.hashCode()"
|
|
- "java.lang.Object.notify()"
|
|
- "java.lang.Object.notifyAll()"
|
|
- "java.lang.Object.toString()"
|
|
- "java.lang.Object.wait()"
|
|
- "java.lang.Object.wait(long)"
|
|
- "java.lang.Object.wait(long,int)"
|
|
syntax: "public class ErrorContext"
|
|
constructors:
|
|
- uid: "com.azure.messaging.eventhubs.models.ErrorContext.ErrorContext(com.azure.messaging.eventhubs.models.PartitionContext,java.lang.Throwable)"
|
|
fullName: "com.azure.messaging.eventhubs.models.ErrorContext.ErrorContext(PartitionContext partitionContext, Throwable throwable)"
|
|
name: "ErrorContext(PartitionContext partitionContext, Throwable throwable)"
|
|
nameWithType: "ErrorContext.ErrorContext(PartitionContext partitionContext, Throwable throwable)"
|
|
summary: "Creates a new instance of Error<wbr>Context."
|
|
parameters:
|
|
- description: "The partition information where the error occurred."
|
|
name: "partitionContext"
|
|
type: "<xref href=\"com.azure.messaging.eventhubs.models.PartitionContext?alt=com.azure.messaging.eventhubs.models.PartitionContext&text=PartitionContext\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "The <xref uid=\"java.lang.Throwable\" data-throw-if-not-resolved=\"false\" data-raw-source=\"error\"></xref> that occurred."
|
|
name: "throwable"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html\">Throwable</a>"
|
|
syntax: "public ErrorContext(PartitionContext partitionContext, Throwable throwable)"
|
|
desc: "Creates a new instance of ErrorContext."
|
|
methods:
|
|
- uid: "com.azure.messaging.eventhubs.models.ErrorContext.getPartitionContext()"
|
|
fullName: "com.azure.messaging.eventhubs.models.ErrorContext.getPartitionContext()"
|
|
name: "getPartitionContext()"
|
|
nameWithType: "ErrorContext.getPartitionContext()"
|
|
summary: "Returns the partition information where the error occurred."
|
|
syntax: "public PartitionContext getPartitionContext()"
|
|
desc: "Returns the partition information where the error occurred."
|
|
returns:
|
|
description: "The partition information where the error occurred."
|
|
type: "<xref href=\"com.azure.messaging.eventhubs.models.PartitionContext?alt=com.azure.messaging.eventhubs.models.PartitionContext&text=PartitionContext\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.messaging.eventhubs.models.ErrorContext.getThrowable()"
|
|
fullName: "com.azure.messaging.eventhubs.models.ErrorContext.getThrowable()"
|
|
name: "getThrowable()"
|
|
nameWithType: "ErrorContext.getThrowable()"
|
|
summary: "Returns the error that occurred during event processing."
|
|
syntax: "public Throwable getThrowable()"
|
|
desc: "Returns the error that occurred during event processing."
|
|
returns:
|
|
description: "The error that occurred during event processing."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html\">Throwable</a>"
|
|
type: "class"
|
|
desc: "This class contains information about an error that occurred while processing events."
|
|
metadata: {}
|
|
package: "com.azure.messaging.eventhubs.models"
|
|
artifact: com.azure:azure-messaging-eventhubs:5.13.1
|