메소드 | 설명 | |
---|---|---|
CreatePythonThrowable ( IronPython.Runtime.Types.PythonType type ) : BaseException | ||
CreateSubType ( IronPython.Runtime.PythonContext context, IronPython.Runtime.Types.PythonType baseType, |
||
CreateSubType ( IronPython.Runtime.PythonContext context, IronPython.Runtime.Types.PythonType baseType, string name, string module, string documentation, Exception>.Func |
||
CreateSubType ( IronPython.Runtime.Types.PythonType baseType, |
Creates a new type for a built-in exception which is the root concrete type.
|
|
CreateSubType ( IronPython.Runtime.Types.PythonType baseType, string name, Exception>.Func |
Creates a new type for a built-in exception which derives from another Python type. . These types are built-in and immutable like any other normal type. For example StandardError.x = 3 is illegal. This isn't for module exceptions which are like user defined types. thread.error.x = 3 is legal.
|
|
CreateThrowable ( IronPython.Runtime.Types.PythonType type ) : |
||
CreateThrowableForRaise ( CodeContext context, |
||
CreateThrowableForRaise ( CodeContext context, IronPython.Runtime.Types.PythonType type, object value ) : |
||
GetDynamicStackFrames ( |
Gets the list of DynamicStackFrames for the current exception.
|
|
GetFrameList ( this e ) : List |
||
GetPythonException ( this e ) : object |
Internal helper to get the associated Python exception from a .NET exception.
|
|
GetTraceBack ( this e ) : IronPython.Runtime.Exceptions.TraceBack | ||
MethodsMatch ( |
||
RemoveFrameList ( this e ) : void | ||
RemoveTraceBack ( this e ) : void | ||
SetFrameList ( this e, List |
||
SetPythonException ( this e, object exception ) : void |
Internal helper to associate a .NET exception and a Python exception.
|
|
SetTraceBack ( this e, IronPython.Runtime.Exceptions.TraceBack traceback ) : void | ||
SyntaxErrorToPython ( |
Converts the DLR SyntaxErrorException into a Python new-style SyntaxError instance.
|
|
ToClr ( object pythonException ) : |
Returns the CLR exception associated with a Python exception creating a new exception if necessary
|
|
ToPython ( System clrException ) : object |
Given a CLR exception returns the Python exception which most closely maps to the CLR exception.
|
|
ToPythonNewStyle ( System clrException ) : BaseException |
Creates a new style Python exception from the .NET exception
|