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