source: trunk/anuga_core/source/anuga/anuga_exceptions.py @ 7814

Last change on this file since 7814 was 7743, checked in by hudson, 14 years ago

Removed more modules from data_handler: code to do with building destruction.

File size: 580 bytes
Line 
1"""Exceptions used by ANUGA
2"""
3
4import exceptions
5
6class TitleError(exceptions.IOError): pass
7class ParsingError(exceptions.IOError): pass
8class ShapeError(exceptions.IOError): pass
9
10class ANUGAError(Exception):
11    def __init__(self, args=None):
12        self.args = args
13
14class DataMissingValuesError(exceptions.Exception): pass
15class DataFileNotOpenError(exceptions.Exception): pass
16class DataTimeError(exceptions.Exception): pass
17class DataDomainError(exceptions.Exception): pass
18class NewQuantity(exceptions.Exception): pass
19class TitleValueError(exceptions.Exception): pass
Note: See TracBrowser for help on using the repository browser.