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.CallGDALError[source]

Raised if failed to call gdal command. Indicate by error message that is not empty

exception safe_qgis.exceptions.HashNotFoundException[source]

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

exception safe_qgis.exceptions.InsufficientOverlapException[source]

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

exception safe_qgis.exceptions.InsufficientParametersException[source]

Custom exception for when insufficient parameters have been set.

exception safe_qgis.exceptions.InvalidBoundingBoxException[source]

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

exception safe_qgis.exceptions.InvalidKVPException[source]

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[source]

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

exception safe_qgis.exceptions.InvalidProjectionException[source]

An exception raised if a layer needs to be reprojected.

exception safe_qgis.exceptions.KeywordNotFoundException[source]

Custom exception for when a no keyword can be found.

exception safe_qgis.exceptions.LegendLayerException[source]

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[source]

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

exception safe_qgis.exceptions.NoFeaturesInExtentException[source]

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

exception safe_qgis.exceptions.NoFunctionsFoundException[source]

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

exception safe_qgis.exceptions.QgisPathException[source]

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

exception safe_qgis.exceptions.StyleError[source]

An exception relating to reading / generating GIS styles

exception safe_qgis.exceptions.StyleInfoNotFoundException[source]

Custom exception for when a no styleInfo can be found.

exception safe_qgis.exceptions.TestNotImplementedException[source]

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

exception safe_qgis.exceptions.TranslationLoadException[source]

Custom exception handler for whe translation file fails to load.

This module forms part of the InaSAFE tool.

Previous topic

Module: safe_qgis.dock_base

Next topic

Module: safe_qgis.html_renderer

This Page