| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
exceptions.BaseException --+
|
exceptions.Exception --+
|
ExceptionWithMessage
Useful base class for exceptions that have a single exception message argument. Among other things, this method provides a reasonable default __str__() method.
Usage:
from grizzled.exception import ExceptionWithMessage class MyException(ExceptionWithMessage): def __init__(self, msg): ExceptionWithMessage.__init__(self, msg)
| Instance Methods | |||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
| Properties | |
|
Inherited from Inherited from |
| Method Details |
Create a new exception. @type errorMessage: string @param errorMessage: the error message
|
|
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun Jan 4 20:34:14 2009 | http://epydoc.sourceforge.net |