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

Inheritance: ICodeFormattable, IPythonObject, IDynamicObject
Afficher le fichier Open project: jschementi/iron

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public BaseException ( IronPython.Runtime.Types.PythonType type ) : System.Linq.Expressions
type IronPython.Runtime.Types.PythonType
Résultat System.Linq.Expressions

ToString() public méthode

public ToString ( ) : string
Résultat string

__init__() public méthode

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

__new__() public static méthode

public static __new__ ( IronPython.Runtime.Types.PythonType cls ) : object
cls IronPython.Runtime.Types.PythonType
Résultat object

__new__() public static méthode

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

__reduce__() public méthode

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

__reduce_ex__() public méthode

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

__repr__() public méthode

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

__setstate__() public méthode

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

__unicode__() public méthode

public __unicode__ ( ) : string
Résultat string

this() public méthode

Gets the nth member of the args property
public this ( int index ) : object
index int
Résultat object