Class PythonException
Thrown when there's an exception in a python call
Implements
Inherited Members
Namespace: DesignData.SDS2.Exceptions
Assembly: DesignData.SDS2.Exceptions.dll
Syntax
public class PythonException : ApplicationException, ISerializable
Constructors
PythonException(string, string, dynamic, dynamic)
Thrown when there's an exception in a python call
Declaration
public PythonException(string message, string traceback, dynamic pythonExceptionT, dynamic pythonExceptionO)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | |
| string | traceback | |
| dynamic | pythonExceptionT | |
| dynamic | pythonExceptionO |
Properties
PythonExceptionInstance
The underlying python exception that was thrown. This can be null if a python exception wasn't thrown, but this exception indicates an argument or return value could not be marshalled or an attempt was made to call a non-callable object.
Declaration
public dynamic PythonExceptionInstance { get; }
Property Value
| Type | Description |
|---|---|
| dynamic |
PythonExceptionType
The type of the underlying python exception (as a python object).
Declaration
public dynamic PythonExceptionType { get; }
Property Value
| Type | Description |
|---|---|
| dynamic |
PythonTraceback
The python stack trace at the exception throw site
Declaration
public string PythonTraceback { get; }
Property Value
| Type | Description |
|---|---|
| string |