exceptions#
OM-specific exceptions and exception handling.
This module contains a set of python exceptions that are specific to OM.
- exception OmException#
Base class for OM’s exceptions. All other OM-specific exceptions should inherit from this exception.
- exception OmConfigurationFileReadingError#
Raised if an error happens while OM is reading its configuration file.
- exception OmConfigurationFileSyntaxError#
Raised if there is a syntax error in OM’s configuration file.
- exception OmDataExtractionError#
Raised if an error happens during data extraction.
- exception OmHttpInterfaceInitializationError#
Raised if an error happens while OM is accessing a HTTP/REST interface.
- exception OmGeometryError#
Raised if there is syntax error in a geometry file read by OM.
- exception OmHdf5FileReadingError#
Raised if there is an error while reading an HDF5 data file.
- exception OmHdf5UnsupportedDataFormat#
Raised when trying to write an unsupported data format into an HDF5 data file.
- exception OmHdf5PathError#
Raised if an internal HDF5 path cannot be found.
- exception OmInvalidSourceError#
Raised if the format of the source string or file is not valid.
- exception OmInvalidZmqUrl#
Raised if the format of a ZMQ socket’s URL is not valid.
- exception OmMissingLayerClassError#
Raised if a class that defines one of OM’s layers cannot be found.
- exception OmMissingDataEventError#
Raised if a data event cannot be retrieved from a data source.
- exception OmMissingDataSourceClassError#
Raised if a Data Source class cannot be found in the Data Retrieval Layer.
- exception OmMissingDependencyError#
Raised if one of the python module dependencies is not found on the system.
- exception OmMissingLayerModuleError#
Raised if the python implementation of one of OM’s layer cannot be found.
- exception OmMissingParameterError#
Raised if a parameter is missing from OM’s configuration file.
- exception OmMissingParameterGroupError#
Raised if a parameter group is missing from OM’s configuration file.
- exception OmWrongArrayShape#
Raised if the shape of an array does not fit the data it should contain.
- exception OmWrongParameterTypeError#
Raised if the type of an OM’s configuration parameter is not correct.