Ignore:
Timestamp:
Mar 27, 2006, 3:49:00 PM (18 years ago)
Author:
ole
Message:

Played with custom exceptions for ANUGA

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/coordinate_transforms/geo_reference.py

    r2602 r2608  
    99from Numeric import array, Float, ArrayType, reshape
    1010from utilities.numerical_tools import ensure_numeric
     11from utilities.anuga_exceptions import ANUGAError
    1112
    1213DEFAULT_ZONE = -1
     
    204205            msg = 'Both geospatial_data objects must be in the same \
    205206            ZONE to allow reconciliation. I got zone %d and %d' %(self.zone, other.zone)
    206             raise msg
     207            raise ANUGAError, msg
    207208   
    208209    #def easting_northing2geo_reffed_point(self, x, y):
Note: See TracChangeset for help on using the changeset viewer.