Lean  $LEAN_TAG$
QuantConnect.Exceptions.SystemExceptionInterpreter Class Reference

Base handler that will try get an exception file and line More...

Inheritance diagram for QuantConnect.Exceptions.SystemExceptionInterpreter:
[legend]

Public Member Functions

virtual bool CanInterpret (Exception exception)
 Determines if this interpreter should be applied to the specified exception. f More...
 
virtual Exception Interpret (Exception exception, IExceptionInterpreter innerInterpreter)
 Interprets the specified exception into a new exception More...
 

Static Public Member Functions

static bool TryGetLineAndFile (string stackTrace, out string fileAndLine)
 Helper method to get the file and line from a C# stacktrace More...
 

Public Attributes

virtual int Order => int.MaxValue
 Determines the order that an instance of this class should be called More...
 

Additional Inherited Members

- Properties inherited from QuantConnect.Exceptions.IExceptionInterpreter
int Order [get]
 Determines the order that a class that implements this interface should be called More...
 

Detailed Description

Base handler that will try get an exception file and line

Definition at line 24 of file SystemExceptionInterpreter.cs.

Member Function Documentation

◆ CanInterpret()

virtual bool QuantConnect.Exceptions.SystemExceptionInterpreter.CanInterpret ( Exception  exception)
virtual

Determines if this interpreter should be applied to the specified exception. f

Parameters
exceptionThe exception to check
Returns
True if the exception can be interpreted, false otherwise

Implements QuantConnect.Exceptions.IExceptionInterpreter.

Reimplemented in QuantConnect.Exceptions.ClrBubbledExceptionInterpreter.

◆ Interpret()

virtual Exception QuantConnect.Exceptions.SystemExceptionInterpreter.Interpret ( Exception  exception,
IExceptionInterpreter  innerInterpreter 
)
virtual

Interprets the specified exception into a new exception

Parameters
exceptionThe exception to be interpreted
innerInterpreterAn interpreter that should be applied to the inner exception.
Returns
The interpreted exception

Implements QuantConnect.Exceptions.IExceptionInterpreter.

Reimplemented in QuantConnect.Exceptions.ClrBubbledExceptionInterpreter.

Definition at line 46 of file SystemExceptionInterpreter.cs.

Here is the call graph for this function:

◆ TryGetLineAndFile()

static bool QuantConnect.Exceptions.SystemExceptionInterpreter.TryGetLineAndFile ( string  stackTrace,
out string  fileAndLine 
)
static

Helper method to get the file and line from a C# stacktrace

Definition at line 60 of file SystemExceptionInterpreter.cs.

Here is the caller graph for this function:

Member Data Documentation

◆ Order

virtual int QuantConnect.Exceptions.SystemExceptionInterpreter.Order => int.MaxValue

Determines the order that an instance of this class should be called

Definition at line 31 of file SystemExceptionInterpreter.cs.


The documentation for this class was generated from the following file: