source:
inundation/utilities/anuga_exceptions.py
@
3236
Last change on this file since 3236 was 3135, checked in by , 19 years ago | |
---|---|
File size: 295 bytes |
Rev | Line | |
---|---|---|
[2617] | 1 | """Exceptions used by ANUGA |
2 | """ | |
3 | ||
[2942] | 4 | import exceptions |
5 | class TitleError(exceptions.IOError): pass | |
6 | class ParsingError(exceptions.IOError): pass | |
[3135] | 7 | class ShapeError(exceptions.IOError): pass |
[2617] | 8 | |
[2942] | 9 | |
[2617] | 10 | class ANUGAError(Exception): |
11 | def __init__(self, args=None): | |
12 | self.args = args | |
13 |
Note: See TracBrowser
for help on using the repository browser.