Class ExceptionExtensions
Extensions to the class to allow for
adding and retrieving suppressed exceptions, like you can do in Java.
Inheritance
System.Object
ExceptionExtensions
Assembly: Lucene.Net.dll
Syntax
public static class ExceptionExtensions : object
Fields
|
Improve this Doc
View Source
SUPPRESSED_EXCEPTIONS_KEY
Declaration
public static readonly string SUPPRESSED_EXCEPTIONS_KEY
Field Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
AddSuppressed(Exception, Exception)
Declaration
public static void AddSuppressed(this Exception e, Exception exception)
Parameters
Type |
Name |
Description |
Exception |
e |
|
Exception |
exception |
|
|
Improve this Doc
View Source
GetSuppressed(Exception)
Declaration
public static Exception[] GetSuppressed(this Exception e)
Parameters
Type |
Name |
Description |
Exception |
e |
|
Returns
Type |
Description |
Exception[] |
|
|
Improve this Doc
View Source
GetSuppressedAsList(Exception)
Declaration
public static IList<Exception> GetSuppressedAsList(this Exception e)
Parameters
Type |
Name |
Description |
Exception |
e |
|
Returns
Type |
Description |
IList<Exception> |
|