<-Back


 
 
prangya.excgeneric (version 0.1)
index
/usr/lib/python2.2/site-packages/prangya/excgeneric.py

Module containing the generic exceptions.
Copyrights: K Raghu Prasad [Prangya Technologies Pvt. Ltd.]
License: GNU Library General Public License (Version 2)
$Revision: 0.1 $
$Date: 2003/04/03 09:49:31 $
$Author: raghu $

 
Classes
            
exceptions.Exception
GenException
CallException
ClosedException
CommitException
ConfigException
ConnectionException
CursorException
ExistsException
FileException
InitException
LimitException
ModuleException
MulticallException
NotExistsException
ObjectException
ParamException
QueryException
 
class CallException(GenException)
      Created and raised for wrong call or wrong order of call to the function.
 
  
Method resolution order:
CallException
GenException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = '\n Created and raised for wrong call or wrong order of call to the function.\n '
__module__ = 'prangya.excgeneric'

Methods inherited from GenException:
__init__(self, message)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class ClosedException(GenException)
      Created and raised when some entity is closed already while it was expected
to be open/alive.
 
  
Method resolution order:
ClosedException
GenException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = '\n Created and raised when some entity is cl...ile it was expected\n to be open/alive.\n '
__module__ = 'prangya.excgeneric'

Methods inherited from GenException:
__init__(self, message)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class CommitException(GenException)
      Created and raised when database commit fails. Normally followed by a
rollback operation on given db handle.
 
  
Method resolution order:
CommitException
GenException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = '\n Created and raised when database commit f... rollback operation on given db handle.\n '
__module__ = 'prangya.excgeneric'

Methods inherited from GenException:
__init__(self, message)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class ConfigException(GenException)
      Created and raised when consistency checks fail while parsing configuration
parameters.
 
  
Method resolution order:
ConfigException
GenException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = '\n Created and raised when consistency check...ile parsing configuration\n parameters.\n '
__module__ = 'prangya.excgeneric'

Methods inherited from GenException:
__init__(self, message)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class ConnectionException(GenException)
      Created and raised when network connection to some server fails. Normally
fatal.
 
  
Method resolution order:
ConnectionException
GenException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = '\n Created and raised when network connection to some server fails. Normally\n fatal.\n '
__module__ = 'prangya.excgeneric'

Methods inherited from GenException:
__init__(self, message)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class CursorException(GenException)
      Created and raised when database cursor creation fails. Normally fatal.
 
  
Method resolution order:
CursorException
GenException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = '\n Created and raised when database cursor creation fails. Normally fatal.\n '
__module__ = 'prangya.excgeneric'

Methods inherited from GenException:
__init__(self, message)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class ExistsException(GenException)
      Created and raised when some entity being created afresh, exists already.
 
  
Method resolution order:
ExistsException
GenException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = '\n Created and raised when some entity being created afresh, exists already.\n '
__module__ = 'prangya.excgeneric'

Methods inherited from GenException:
__init__(self, message)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class FileException(GenException)
      Created and raised when some error occurred in accessing some file or
file-like object.
 
  
Method resolution order:
FileException
GenException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = '\n Created and raised when some error occure...essing some file or\n file-like object.\n '
__module__ = 'prangya.excgeneric'

Methods inherited from GenException:
__init__(self, message)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class GenException(exceptions.Exception)
      It is the base generic exception class. All generic exceptions are
inherited from this one. The instance of it contains an attribute
\emph{error} to hold the descriptive error message. It is supplied
while this class or the one inherited from it is instantiated.
 
   Methods defined here:
__init__(self, message)

Data and non-method functions defined here:
__doc__ = '\n It is the base generic exception class. A...the one inherited from it is instantiated.\n '
__module__ = 'prangya.excgeneric'

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class InitException(GenException)
      Created and raised when an entity is not initialized as expected.
 
  
Method resolution order:
InitException
GenException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = '\n Created and raised when an entity is not initialized as expected.\n '
__module__ = 'prangya.excgeneric'

Methods inherited from GenException:
__init__(self, message)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class LimitException(GenException)
      Created and raised when certain entity has crossed its maximum limit.
 
  
Method resolution order:
LimitException
GenException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = '\n Created and raised when certain entity has crossed its maximum limit.\n '
__module__ = 'prangya.excgeneric'

Methods inherited from GenException:
__init__(self, message)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class ModuleException(GenException)
      Created and raised when invalid module is encountered. Normally fatal.
 
  
Method resolution order:
ModuleException
GenException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = '\n Created and raised when invalid module is encountered. Normally fatal.\n '
__module__ = 'prangya.excgeneric'

Methods inherited from GenException:
__init__(self, message)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class MulticallException(GenException)
      Created and raised when a particular function or method object is called
more number of times than allowed. Also raised when a resource entity is
used more number of times than allowed.
 
  
Method resolution order:
MulticallException
GenException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = '\n Created and raised when a particular func... used more number of times than allowed.\n '
__module__ = 'prangya.excgeneric'

Methods inherited from GenException:
__init__(self, message)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class NotExistsException(GenException)
      Created and raised when some entity expected to be present is not found.
 
  
Method resolution order:
NotExistsException
GenException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = '\n Created and raised when some entity expected to be present is not found.\n '
__module__ = 'prangya.excgeneric'

Methods inherited from GenException:
__init__(self, message)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class ObjectException(GenException)
      Created and raised when creation of object fails.
 
  
Method resolution order:
ObjectException
GenException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = '\n Created and raised when creation of object fails.\n '
__module__ = 'prangya.excgeneric'

Methods inherited from GenException:
__init__(self, message)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class ParamException(GenException)
      Created and raised when an invalid parameter is supplied to a function.
Usually fatal.
 
  
Method resolution order:
ParamException
GenException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = '\n Created and raised when an invalid parame...upplied to a function.\n Usually fatal.\n '
__module__ = 'prangya.excgeneric'

Methods inherited from GenException:
__init__(self, message)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class QueryException(GenException)
      Created and raised when a database query fails. Normally handled at
the application level.
 
  
Method resolution order:
QueryException
GenException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = '\n Created and raised when a database query ...lly handled at\n the application level.\n '
__module__ = 'prangya.excgeneric'

Methods inherited from GenException:
__init__(self, message)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
Data
             __file__ = '/usr/lib/python2.2/site-packages/prangya/excgeneric.pyc'
__name__ = 'prangya.excgeneric'
__version__ = '0.1'

<-Back