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

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

exception safe_qgis.exceptions.InsufficientOverlapError[source]

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

exception safe_qgis.exceptions.InsufficientParametersError[source]

Custom exception for when insufficient parameters have been set.

exception safe_qgis.exceptions.InvalidBoundingBoxError[source]

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

exception safe_qgis.exceptions.InvalidClipGeometryError[source]

Custom exception for when clip geometry is invalid.

exception safe_qgis.exceptions.InvalidKVPError[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.InvalidParameterError[source]

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

exception safe_qgis.exceptions.InvalidProjectionError[source]

An exception raised if a layer needs to be reprojected.

exception safe_qgis.exceptions.KeywordDbError[source]

Custom exception for when an error is encountered with keyword cach db.

exception safe_qgis.exceptions.KeywordNotFoundError[source]

Custom exception for when a no keyword can be found.

exception safe_qgis.exceptions.LegendLayerError[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.MemoryLayerCreationError

Raised if an error occurs creating the cities file

exception safe_qgis.exceptions.MethodUnavailableError[source]

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

exception safe_qgis.exceptions.NoFeaturesInExtentError[source]

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

exception safe_qgis.exceptions.NoFunctionsFoundError[source]

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

exception safe_qgis.exceptions.QgisPathError[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.StyleInfoNotFoundError[source]

Custom exception for when a no styleInfo can be found.

exception safe_qgis.exceptions.TestNotImplementedError[source]

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

exception safe_qgis.exceptions.TranslationLoadError[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