Mercurial > fife-parpg
comparison engine/extensions/pychan/exceptions.py @ 0:4a0efb7baf70
* Datasets becomes the new trunk and retires after that :-)
author | mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sun, 29 Jun 2008 18:44:17 +0000 |
parents | |
children | 31718fa356f8 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4a0efb7baf70 |
---|---|
1 # coding: utf-8 | |
2 | |
3 class PyChanException(Exception): | |
4 """ | |
5 Base exception class for PyChan. | |
6 All exceptions raised by PyChan derive from this. | |
7 """ | |
8 pass | |
9 | |
10 class InitializationError(PyChanException): | |
11 """ | |
12 Exception raised during the initialization. | |
13 """ | |
14 pass | |
15 | |
16 class RuntimeError(PyChanException): | |
17 """ | |
18 Exception raised during the run time - for example caused by a missing name attribute in a XML file. | |
19 """ | |
20 pass | |
21 | |
22 class GuiXMLError(PyChanException): | |
23 """ | |
24 An error that occured during parsing an XML file. | |
25 """ | |
26 | |
27 class ParserError(PyChanException): | |
28 """ | |
29 An error that occured during parsing an attribute. | |
30 """ |