Package httxlib :: Module httxerror :: Class HttxException
[hide private]
[frames] | no frames]

Class HttxException

source code

              object --+            
                       |            
exceptions.BaseException --+        
                           |        
        exceptions.Exception --+    
                               |    
           httplib.HTTPException --+
                                   |
                                  HttxException
Known Subclasses:

A class representing a HTTP related exceptions raised by HttxLib

Instance Methods [hide private]
 
__init__(self, response, *args)
Constructor.
source code

Inherited from exceptions.Exception: __new__

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

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

Instance Variables [hide private]
HttxResponse response
response that has triggered the exception
Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details [hide private]

__init__(self, response, *args)
(Constructor)

source code 

Constructor. Passes the args to Exception as explicitly stated in the HTTPException definition in httplib.py

Parameters:
  • response (HttxResponse) - response that has triggered the exception
  • args (tuple) - list of arguments
Overrides: object.__init__