Package backend :: Package common :: Module rhnException :: Class rhnFault
[hide private]
[frames] | no frames]

Class rhnFault

source code


This is a data exception class that is raised when we detect bad data. The higher level functions in apacheServer will catch it and transform it into an XMLRPC fault message that gets passed back to the client without aborting the current execution of the process (well, we abort, but we don't mail a traceback because this is the type of error we can handle - think user authentication).

Instance Methods [hide private]
 
__init__(self, err_code=0, err_text='', explain=1)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__repr__(self)
String representation of this object.
source code
 
getxml(self) source code

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __setattr__, __setstate__, __str__, __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, err_code=0, err_text='', explain=1)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

String representation of this object.

Overrides: object.__repr__