ErrorContext Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. service. messaging. ErrorContext
- com.
public class ErrorContext
The context for a given connection loss event for MessageFeedbackProcessorClient, FileUploadNotificationProcessorClient, and MessagingClient. The context includes the cause of the connection loss and makes a distinction between network level issues (no internet) and IoT Hub level issues (resource not found, throttling, internal server error, etc.).
Constructor Summary
Constructor | Description | |
---|---|---|
ErrorContext(IOException exception) | ||
ErrorContext(IotHubException exception) |
Constructor Details
ErrorContext
public ErrorContext(IOException exception)
Parameters:
exception
ErrorContext
public ErrorContext(IotHubException exception)
Parameters:
exception
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java