source: inundation/utilities/anuga_exceptions.py @ 3290

Last change on this file since 3290 was 3135, checked in by duncan, 18 years ago

new error

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