source: inundation/utilities/anuga_exceptions.py @ 3236

Last change on this file since 3236 was 3135, checked in by duncan, 19 years ago

new error

File size: 295 bytes
RevLine 
[2617]1"""Exceptions used by ANUGA
2"""
3
[2942]4import exceptions
5class TitleError(exceptions.IOError): pass
6class ParsingError(exceptions.IOError): pass
[3135]7class ShapeError(exceptions.IOError): pass
[2617]8
[2942]9
[2617]10class ANUGAError(Exception):
11    def __init__(self, args=None):
12        self.args = args
13       
Note: See TracBrowser for help on using the repository browser.