Show / Hide Table of Contents

    Class PythonException

    Thrown when there's an exception in a python call

    Inheritance
    System.Object
    System.Exception
    System.ApplicationException
    PythonException
    Implements
    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception
    Inherited Members
    System.Exception.GetBaseException()
    System.Exception.ToString()
    System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    System.Exception.GetType()
    System.Exception.Message
    System.Exception.Data
    System.Exception.InnerException
    System.Exception.TargetSite
    System.Exception.StackTrace
    System.Exception.HelpLink
    System.Exception.Source
    System.Exception.HResult
    System.Exception.SerializeObjectState
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: DesignData.SDS2.Exceptions
    Assembly: DesignData.SDS2.Exceptions.dll
    Syntax
    public class PythonException : ApplicationException, ISerializable, _Exception

    Constructors

    PythonException(String, String, Object, Object)

    Declaration
    public PythonException(string message, string traceback, dynamic pythonExceptionT, dynamic pythonExceptionO)
    Parameters
    Type Name Description
    System.String message
    System.String traceback
    System.Object pythonExceptionT
    System.Object 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
    System.Object

    PythonExceptionType

    The type of the underlying python exception (as a python object).

    Declaration
    public dynamic PythonExceptionType { get; }
    Property Value
    Type Description
    System.Object

    PythonTraceback

    The python stack trace at the exception throw site

    Declaration
    public string PythonTraceback { get; }
    Property Value
    Type Description
    System.String

    Implements

    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception
    Back to top