Mercurial > fife-parpg
view engine/extensions/pychan/exceptions.py @ 158:63de2dea08e6
* More documentation for layout system.
* adaptLayout now acts a bit smarter.
author | phoku@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Tue, 14 Oct 2008 07:53:05 +0000 |
parents | 4a0efb7baf70 |
children | 31718fa356f8 |
line wrap: on
line source
# coding: utf-8 class PyChanException(Exception): """ Base exception class for PyChan. All exceptions raised by PyChan derive from this. """ pass class InitializationError(PyChanException): """ Exception raised during the initialization. """ pass class RuntimeError(PyChanException): """ Exception raised during the run time - for example caused by a missing name attribute in a XML file. """ pass class GuiXMLError(PyChanException): """ An error that occured during parsing an XML file. """ class ParserError(PyChanException): """ An error that occured during parsing an attribute. """