### Navigation

- index
- modules
- next
- previous
- Home »
- Contents »
- InaSAFE’s API documentation »
- Package::safe_qgis »

# Module: safe_qgis.exceptions

InaSAFE Disaster risk assessment tool developed by AusAid - Exception Classes.

Custom exception classes for the IS application.

Contact : ole.moller.nielsen@gmail.com

Note

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

exception `safe_qgis.exceptions.``HashNotFoundException`

  Custom exception for when a no keyword hash can be found.

exception `safe_qgis.exceptions.``InsufficientOverlapException`

  An exception raised if an error occurs during extent calculation because the bounding boxes do not overlap.

exception `safe_qgis.exceptions.``InsufficientParametersException`

  Custom exception for when insufficient parameters have been set.

exception `safe_qgis.exceptions.``InvalidBoundingBoxException`

  An exception raised if an error occurs during extent calculation because one of the extents is invalid.

exception `safe_qgis.exceptions.``InvalidKVPException`

  An exception raised when a key value pair is invalid - for example if the key of value is None or an empty string.

exception `safe_qgis.exceptions.``InvalidParameterException`

  Custom exception for when an invalid parameter is passed to a function.

exception `safe_qgis.exceptions.``InvalidProjectionException`

  An exception raised if a layer needs to be reprojected.

exception `safe_qgis.exceptions.``KeywordNotFoundException`

  Custom exception for when a no keyword can be found.

exception `safe_qgis.exceptions.``LegendLayerException`

  An exception raised when trying to create a legend from a QgsMapLayer that does not have suitable characteristics to allow a legend to be created from it.

exception `safe_qgis.exceptions.``MethodUnavailableError`

  Raised if the requested import cannot be performed dur to qgis being to old

exception `safe_qgis.exceptions.``NoFeaturesInExtentException`

  An exception that gets thrown when no features are within the extent being clipped.

exception `safe_qgis.exceptions.``NoFunctionsFoundException`

  Custom exception for when a no impact calculation functions can be found.

exception `safe_qgis.exceptions.``QgisPathException`

  Custom exception for when qgispath.txt could not be read.

exception `safe_qgis.exceptions.``StyleError`

  An exception relating to reading / generating GIS styles

exception `safe_qgis.exceptions.``StyleInfoNotFoundException`

  Custom exception for when a no styleInfo can be found.

exception `safe_qgis.exceptions.``TestNotImplementedException`

  Custom exception for when a test exists only as a stub.

exception `safe_qgis.exceptions.``TranslationLoadException`

  Custom exception handler for whe translation file fails to load.

This module forms part of the InaSAFE tool.

### Navigation

- index
- modules
- next
- previous
- Home »
- Contents »
- InaSAFE’s API documentation »
- Package::safe_qgis »