Show / Hide Table of Contents

    Class PythonException

    Thrown when there's an exception in a python call

    Inheritance
    object
    Exception
    ApplicationException
    PythonException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.ToString()
    Exception.GetType()
    Exception.TargetSite
    Exception.Message
    Exception.Data
    Exception.InnerException
    Exception.HelpLink
    Exception.Source
    Exception.HResult
    Exception.StackTrace
    Exception.SerializeObjectState
    object.MemberwiseClone()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    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

    Implements

    ISerializable
    Back to top