C# Class Microsoft.Scripting.Runtime.ExceptionHelpers

Mostrar archivo Open project: jschementi/iron Class Usage Examples

Public Methods

Method Description
GetExceptionStackTraces ( Exception rethrow ) : IList

Returns all the stack traces associates with an exception

UpdateForRethrow ( Exception rethrow ) : Exception

Updates an exception before it's getting re-thrown so we can present a reasonable stack trace to the user.

Private Methods

Method Description
AssociateStackTraces ( Exception e, List traces ) : void
TryGetAssociatedStackTraces ( Exception e, List &traces ) : bool

Method Details

GetExceptionStackTraces() public static method

Returns all the stack traces associates with an exception
public static GetExceptionStackTraces ( Exception rethrow ) : IList
rethrow System.Exception
return IList

UpdateForRethrow() public static method

Updates an exception before it's getting re-thrown so we can present a reasonable stack trace to the user.
public static UpdateForRethrow ( Exception rethrow ) : Exception
rethrow System.Exception
return System.Exception