C# Class IronPython.Runtime.Exceptions.PythonExceptions.BaseException

Inheritance: ICodeFormattable, IPythonObject, IDynamicObject
Mostrar archivo Open project: jschementi/iron

Private Properties

Property Type Description
DeleteCustomMember bool
EnsureDict void
GetBoundMember object
GetClrException System.Exception
IDynamicMetaObjectProvider DynamicMetaObject
IPythonObject PythonDictionary
IPythonObject bool
IPythonObject object[]
IPythonObject void
IWeakReferenceable IronPython.Runtime.WeakRefTracker
IWeakReferenceable bool
IWeakReferenceable void
InitAndGetClrException System.Exception
InitializeFromClr void
SetMemberAfter void
__getslice__ PythonTuple

Public Methods

Method Description
BaseException ( IronPython.Runtime.Types.PythonType type ) : System.Linq.Expressions
ToString ( ) : string
__init__ ( ) : void

Initializes the Exception object with an unlimited number of arguments

__new__ ( IronPython.Runtime.Types.PythonType cls ) : object
__new__ ( IronPython.Runtime.Types.PythonType cls, object>.[ kwArgsø ) : object
__reduce__ ( ) : object

Returns a tuple of (type, (arg0, ..., argN)) for implementing pickling/copying

__reduce_ex__ ( int protocol ) : object

Returns a tuple of (type, (arg0, ..., argN)) for implementing pickling/copying

__repr__ ( CodeContext context ) : string

Implements __repr__ which returns the type name + the args tuple code formatted.

__setstate__ ( PythonDictionary state ) : void

Updates the exception's state (dictionary) with the new values

__unicode__ ( ) : string
this ( int index ) : object

Gets the nth member of the args property

Private Methods

Method Description
DeleteCustomMember ( string name ) : bool
EnsureDict ( ) : void
GetBoundMember ( string name ) : object
GetClrException ( ) : Exception

Helper to get the CLR exception associated w/ this Python exception creating it if one has not already been created.

IDynamicMetaObjectProvider ( Expression parameter ) : DynamicMetaObject
IPythonObject ( PythonDictionary dict ) : PythonDictionary
IPythonObject ( PythonDictionary dict ) : bool
IPythonObject ( ) : object[]
IPythonObject ( IronPython.Runtime.Types.PythonType newType ) : void
IWeakReferenceable ( ) : IronPython.Runtime.WeakRefTracker
IWeakReferenceable ( IronPython.Runtime.WeakRefTracker value ) : bool
IWeakReferenceable ( IronPython.Runtime.WeakRefTracker value ) : void
InitAndGetClrException ( ) : Exception
InitializeFromClr ( System exception ) : void
SetMemberAfter ( string name, object value ) : void
__getslice__ ( int start, int stop ) : PythonTuple

Method Details

BaseException() public method

public BaseException ( IronPython.Runtime.Types.PythonType type ) : System.Linq.Expressions
type IronPython.Runtime.Types.PythonType
return System.Linq.Expressions

ToString() public method

public ToString ( ) : string
return string

__init__() public method

Initializes the Exception object with an unlimited number of arguments
public __init__ ( ) : void
return void

__new__() public static method

public static __new__ ( IronPython.Runtime.Types.PythonType cls ) : object
cls IronPython.Runtime.Types.PythonType
return object

__new__() public static method

public static __new__ ( IronPython.Runtime.Types.PythonType cls, object>.[ kwArgsø ) : object
cls IronPython.Runtime.Types.PythonType
kwArgsø object>.[
return object

__reduce__() public method

Returns a tuple of (type, (arg0, ..., argN)) for implementing pickling/copying
public __reduce__ ( ) : object
return object

__reduce_ex__() public method

Returns a tuple of (type, (arg0, ..., argN)) for implementing pickling/copying
public __reduce_ex__ ( int protocol ) : object
protocol int
return object

__repr__() public method

Implements __repr__ which returns the type name + the args tuple code formatted.
public __repr__ ( CodeContext context ) : string
context CodeContext
return string

__setstate__() public method

Updates the exception's state (dictionary) with the new values
public __setstate__ ( PythonDictionary state ) : void
state PythonDictionary
return void

__unicode__() public method

public __unicode__ ( ) : string
return string

this() public method

Gets the nth member of the args property
public this ( int index ) : object
index int
return object