1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| using System;
|
| namespace OpenTap
| {
| /// <summary>
| /// Used to rethrow, adding more exception info but without generating a lot of extra stack lines.
| /// </summary>
| class ExceptionCustomStackTrace : Exception
| {
| public ExceptionCustomStackTrace(string message, string stackTrace, Exception innerException = null)
| : base(message, innerException)
| {
| StackTrace = stackTrace;
| }
|
| public override string StackTrace { get; }
| }
| }
|
|