Last change
on this file since 7775 was
7743,
checked in by James Hudson, 15 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 | |
---|
4 | import exceptions |
---|
5 | |
---|
6 | class TitleError(exceptions.IOError): pass |
---|
7 | class ParsingError(exceptions.IOError): pass |
---|
8 | class ShapeError(exceptions.IOError): pass |
---|
9 | |
---|
10 | class ANUGAError(Exception): |
---|
11 | def __init__(self, args=None): |
---|
12 | self.args = args |
---|
13 | |
---|
14 | class DataMissingValuesError(exceptions.Exception): pass |
---|
15 | class DataFileNotOpenError(exceptions.Exception): pass |
---|
16 | class DataTimeError(exceptions.Exception): pass |
---|
17 | class DataDomainError(exceptions.Exception): pass |
---|
18 | class NewQuantity(exceptions.Exception): pass |
---|
19 | class TitleValueError(exceptions.Exception): pass |
---|
Note: See
TracBrowser
for help on using the repository browser.