exception documentation
class SWException(Exception):
Known subclasses: smartcard.sw.SWExceptions.CheckingErrorException
, smartcard.sw.SWExceptions.ExecutionErrorException
, smartcard.sw.SWExceptions.SecurityRelatedException
, smartcard.sw.SWExceptions.WarningProcessingException
Constructor: SWException(data, sw1, sw2, message)
Base class for status word exceptions.
Status word exceptions are generated when errors and warnings are detected in the sw1 and sw2 bytes of the response apdu.
Method | __init__ |
Undocumented |
Method | __str__ |
Undocumented |
Instance Variable | data |
response apdu sw1 |
Instance Variable | message |
response apdu data |
Instance Variable | sw1 |
response apdu sw2 |
Instance Variable | sw2 |
Undocumented |