exception
index
/home/hermann/Entwürfe/hg/tinydav/tinydav/exception.py

Exceptions for the tinydav WebDAV client.

 
Classes
       
exceptions.Exception(exceptions.BaseException)
HTTPError
HTTPServerError
HTTPUserError

 
class HTTPError(exceptions.Exception)
    Base exception class for HTTP errors.
 
response -- httplib.Response object.
method -- String with uppercase method name.
 
This object has the following attributes:
  response -- The HTTPResponse object.
 
 
Method resolution order:
HTTPError
exceptions.Exception
exceptions.BaseException
__builtin__.object

Methods defined here:
__init__(self, response)
Initialize the HTTPError.
 
response -- HTTPClient or one of its subclasses.
method -- The uppercase method name where the error occured.
 
This instance has the following attributes:
 
response -- Given HTTPClient.
__repr__(self)
Return representation of an HTTPError.
__str__(self)
Return string representation of an HTTPError.

Data descriptors defined here:
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from exceptions.Exception:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
 
Use of negative indices is not supported.
__reduce__(...)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setstate__(...)
__unicode__(...)

Data descriptors inherited from exceptions.BaseException:
__dict__
args
message

 
class HTTPServerError(HTTPError)
    Exception class for 5xx HTTP errors.
 
 
Method resolution order:
HTTPServerError
HTTPError
exceptions.Exception
exceptions.BaseException
__builtin__.object

Methods inherited from HTTPError:
__init__(self, response)
Initialize the HTTPError.
 
response -- HTTPClient or one of its subclasses.
method -- The uppercase method name where the error occured.
 
This instance has the following attributes:
 
response -- Given HTTPClient.
__repr__(self)
Return representation of an HTTPError.
__str__(self)
Return string representation of an HTTPError.

Data descriptors inherited from HTTPError:
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from exceptions.Exception:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
 
Use of negative indices is not supported.
__reduce__(...)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setstate__(...)
__unicode__(...)

Data descriptors inherited from exceptions.BaseException:
__dict__
args
message

 
class HTTPUserError(HTTPError)
    Exception class for 4xx HTTP errors.
 
 
Method resolution order:
HTTPUserError
HTTPError
exceptions.Exception
exceptions.BaseException
__builtin__.object

Methods inherited from HTTPError:
__init__(self, response)
Initialize the HTTPError.
 
response -- HTTPClient or one of its subclasses.
method -- The uppercase method name where the error occured.
 
This instance has the following attributes:
 
response -- Given HTTPClient.
__repr__(self)
Return representation of an HTTPError.
__str__(self)
Return string representation of an HTTPError.

Data descriptors inherited from HTTPError:
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from exceptions.Exception:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
 
Use of negative indices is not supported.
__reduce__(...)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setstate__(...)
__unicode__(...)

Data descriptors inherited from exceptions.BaseException:
__dict__
args
message