Package smartcard :: Package pcsc :: Module PCSCExceptions :: Class BaseSCardException
[hide private]
[frames] | no frames]

Class BaseSCardException

source code


Base class for scard (aka PCSC) exceptions.

scard exceptions are raised by the scard module, i.e. low-level PCSC access to readers and cards.

Instance Methods [hide private]
 
__init__(self, hresult)
Constructor that stores the pcsc error status.
source code
 
__str__(self)
Returns a string representation of the exception.
source code

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __unicode__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details [hide private]

__init__(self, hresult)
(Constructor)

source code 

Constructor that stores the pcsc error status.

Overrides: object.__init__

__str__(self)
(Informal representation operator)

source code 

Returns a string representation of the exception.

Overrides: object.__str__