Package gammu :: Module Worker :: Class InvalidCommand
[hide private]
[frames] | no frames]

Class InvalidCommand

source code

              object --+        
                       |        
exceptions.BaseException --+    
                           |    
        exceptions.Exception --+
                               |
                              InvalidCommand

Exception indicating invalid command.

Instance Methods [hide private]
 
__init__(self, value)
Initializes exception.
source code
 
__str__(self)
Returns textual representation of exception.
source code

Inherited from exceptions.Exception: __new__

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

Inherited from object: __hash__, __reduce_ex__

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details [hide private]

__init__(self, value)
(Constructor)

source code 

Initializes exception.

Parameters:
  • value (string) - Name of wrong command.
Overrides: object.__init__

__str__(self)
(Informal representation operator)

source code 

Returns textual representation of exception.

Overrides: object.__str__