C# Class Microsoft.Scripting.Runtime.ExceptionHelpers

Afficher le fichier Open project: jschementi/iron Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
AssociateStackTraces ( Exception e, List traces ) : void
TryGetAssociatedStackTraces ( Exception e, List &traces ) : bool

Method Details

GetExceptionStackTraces() public static méthode

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

UpdateForRethrow() public static méthode

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
Résultat System.Exception