Class ExceptionExtensions
- Namespace
- DocuWare.Services.Http.Client
- Assembly
- DocuWare.RestClient.dll
Extensions for AggregateException
public static class ExceptionExtensions
- Inheritance
-
ExceptionExtensions
- Inherited Members
Methods
GetInnerMostException(Exception)
Gets the inner most exception.
public static Exception GetInnerMostException(this Exception exception)
Parameters
| Type | Name | Description |
|---|---|---|
| Exception | exception | The exception. |
Returns
| Type | Description |
|---|---|
| Exception | The innermost exception. |
GetRealException(AggregateException)
Gets the real exception of an AggregateException instance.
public static Exception GetRealException(this AggregateException aggregateException)
Parameters
| Type | Name | Description |
|---|---|---|
| AggregateException | aggregateException | The aggregate exception. |
Returns
| Type | Description |
|---|---|
| Exception | The first non-AggregateException in the hierarchy of aggregated exceptions. |