|
Lean
$LEAN_TAG$
|
Defines an exception interpreter. Interpretations are invoked on IAlgorithm.RunTimeError More...
Public Member Functions | |
| bool | CanInterpret (Exception exception) |
| Determines if this interpreter should be applied to the specified exception. More... | |
| Exception | Interpret (Exception exception, IExceptionInterpreter innerInterpreter) |
| Interprets the specified exception into a new exception More... | |
Properties | |
| int | Order [get] |
| Determines the order that a class that implements this interface should be called More... | |
Defines an exception interpreter. Interpretations are invoked on IAlgorithm.RunTimeError
Definition at line 24 of file IExceptionInterpreter.cs.
| bool QuantConnect.Exceptions.IExceptionInterpreter.CanInterpret | ( | Exception | exception | ) |
Determines if this interpreter should be applied to the specified exception.
| exception | The exception to check |
Implemented in QuantConnect.Exceptions.StackExceptionInterpreter, QuantConnect.Exceptions.KeyErrorPythonExceptionInterpreter, QuantConnect.Exceptions.SystemExceptionInterpreter, QuantConnect.Exceptions.ClrBubbledExceptionInterpreter, QuantConnect.Exceptions.NoMethodMatchPythonExceptionInterpreter, QuantConnect.Exceptions.PythonExceptionInterpreter, QuantConnect.Exceptions.UnsupportedOperandPythonExceptionInterpreter, QuantConnect.Exceptions.InvalidTokenPythonExceptionInterpreter, QuantConnect.Exceptions.ScheduledEventExceptionInterpreter, and QuantConnect.Exceptions.DllNotFoundPythonExceptionInterpreter.
| Exception QuantConnect.Exceptions.IExceptionInterpreter.Interpret | ( | Exception | exception, |
| IExceptionInterpreter | innerInterpreter | ||
| ) |
Interprets the specified exception into a new exception
| exception | The exception to be interpreted |
| innerInterpreter | An interpreter that should be applied to the inner exception. This provides a link back allowing the inner exceptions to be interpreted using the interpreters configured in the IExceptionInterpreter. Individual implementations may ignore this value if required. |
Implemented in QuantConnect.Exceptions.StackExceptionInterpreter, QuantConnect.Exceptions.KeyErrorPythonExceptionInterpreter, QuantConnect.Exceptions.InvalidTokenPythonExceptionInterpreter, QuantConnect.Exceptions.NoMethodMatchPythonExceptionInterpreter, QuantConnect.Exceptions.UnsupportedOperandPythonExceptionInterpreter, QuantConnect.Exceptions.DllNotFoundPythonExceptionInterpreter, QuantConnect.Exceptions.ScheduledEventExceptionInterpreter, QuantConnect.Exceptions.SystemExceptionInterpreter, QuantConnect.Exceptions.ClrBubbledExceptionInterpreter, and QuantConnect.Exceptions.PythonExceptionInterpreter.
|
get |
Determines the order that a class that implements this interface should be called
Definition at line 29 of file IExceptionInterpreter.cs.