Skip to content

Commit a8af029

Browse files
authored
Change unordered list to bullets, added second level for readability
1 parent c4a6650 commit a8af029

File tree

1 file changed

+28
-6
lines changed

1 file changed

+28
-6
lines changed

articles/event-hubs/event-hubs-messaging-exceptions.md

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,34 @@ This section lists the .NET exceptions generated by .NET Framework APIs.
2222

2323
## Exception categories
2424

25-
The Event Hubs .NET APIs generate exceptions that can fall into the following categories, along with the associated action you can take to try to fix them.
26-
27-
1. User coding error: [System.ArgumentException](https://msdn.microsoft.com/library/system.argumentexception.aspx), [System.InvalidOperationException](https://msdn.microsoft.com/library/system.invalidoperationexception.aspx), [System.OperationCanceledException](https://msdn.microsoft.com/library/system.operationcanceledexception.aspx), [System.Runtime.Serialization.SerializationException](https://msdn.microsoft.com/library/system.runtime.serialization.serializationexception.aspx). General action: try to fix the code before proceeding.
28-
2. Setup/configuration error: [Microsoft.ServiceBus.Messaging.MessagingEntityNotFoundException](/dotnet/api/microsoft.servicebus.messaging.messagingentitynotfoundexception), [Microsoft.Azure.EventHubs.MessagingEntityNotFoundException](/dotnet/api/microsoft.azure.eventhubs.messagingentitynotfoundexception), [System.UnauthorizedAccessException](https://msdn.microsoft.com/library/system.unauthorizedaccessexception.aspx). General action: review your configuration and change if necessary.
29-
3. Transient exceptions: [Microsoft.ServiceBus.Messaging.MessagingException](/dotnet/api/microsoft.servicebus.messaging.messagingexception), [Microsoft.ServiceBus.Messaging.ServerBusyException](#serverbusyexception), [Microsoft.Azure.EventHubs.ServerBusyException](#serverbusyexception), [Microsoft.ServiceBus.Messaging.MessagingCommunicationException](/dotnet/api/microsoft.servicebus.messaging.messagingcommunicationexception). General action: retry the operation or notify users.
30-
4. Other exceptions: [System.Transactions.TransactionException](https://msdn.microsoft.com/library/system.transactions.transactionexception.aspx), [System.TimeoutException](#timeoutexception), [Microsoft.ServiceBus.Messaging.MessageLockLostException](/dotnet/api/microsoft.servicebus.messaging.messagelocklostexception), [Microsoft.ServiceBus.Messaging.SessionLockLostException](/dotnet/api/microsoft.servicebus.messaging.sessionlocklostexception). General action: specific to the exception type; refer to the table in the following section.
25+
The Event Hubs .NET APIs generate exceptions that can fall into the following categories, along with the associated action you can take to try to fix them:
26+
27+
- User coding error:
28+
- [System.ArgumentException](https://msdn.microsoft.com/library/system.argumentexception.aspx)
29+
- [System.InvalidOperationException](https://msdn.microsoft.com/library/system.invalidoperationexception.aspx)
30+
- [System.OperationCanceledException](https://msdn.microsoft.com/library/system.operationcanceledexception.aspx)
31+
- [System.Runtime.Serialization.SerializationException](https://msdn.microsoft.com/library/system.runtime.serialization.serializationexception.aspx)
32+
General action: Try to fix the code before proceeding.
33+
34+
- Setup/configuration error:
35+
- [Microsoft.ServiceBus.Messaging.MessagingEntityNotFoundException](/dotnet/api/microsoft.servicebus.messaging.messagingentitynotfoundexception)
36+
- [Microsoft.Azure.EventHubs.MessagingEntityNotFoundException](/dotnet/api/microsoft.azure.eventhubs.messagingentitynotfoundexception)
37+
- [System.UnauthorizedAccessException](https://msdn.microsoft.com/library/system.unauthorizedaccessexception.aspx)
38+
General action: Review your configuration and change if necessary.
39+
40+
- Transient exceptions:
41+
- [Microsoft.ServiceBus.Messaging.MessagingException](/dotnet/api/microsoft.servicebus.messaging.messagingexception)
42+
- [Microsoft.ServiceBus.Messaging.ServerBusyException](#serverbusyexception)
43+
- [Microsoft.Azure.EventHubs.ServerBusyException](#serverbusyexception)
44+
- [Microsoft.ServiceBus.Messaging.MessagingCommunicationException](/dotnet/api/microsoft.servicebus.messaging.messagingcommunicationexception)
45+
General action: Retry the operation or notify users.
46+
47+
- Other exceptions:
48+
- [System.Transactions.TransactionException](https://msdn.microsoft.com/library/system.transactions.transactionexception.aspx)
49+
- [System.TimeoutException](#timeoutexception)
50+
- [Microsoft.ServiceBus.Messaging.MessageLockLostException](/dotnet/api/microsoft.servicebus.messaging.messagelocklostexception)
51+
- [Microsoft.ServiceBus.Messaging.SessionLockLostException](/dotnet/api/microsoft.servicebus.messaging.sessionlocklostexception)
52+
General action: Specific to the exception type; refer to the table in the following section.
3153

3254
## Exception types
3355
The following table lists messaging exception types, and their causes, and notes suggested action you can take.

0 commit comments

Comments
 (0)