Exceptions

class InvalidFingerprintException : public Audioneex::Exception

This exception is raised as a consequence of processing an invalid fingerprint. This may be due to errors in the data stores, issues with the audio data, etc. It may or may not be a fatal error, depending on the context. For instance, trying to fingerprint a corrupt audio file or unsupported format during indexing may be recoverable by just skipping the offending file, while an invalid fingerprint received during the identification stage could be a sign of a more serious problem, such as corrupt databases, etc.

class InvalidIndexDataException : public Audioneex::Exception

This exception is raised whenever invalid data is received from the index. This is a sign of inconsistency in the fingerprints index (maybe due to errors in its implementation) and should be considered a fatal error.

class InvalidIndexerStateException : public Audioneex::Exception

This exception is raised when trying to perform some indexing operation while the indexer is in an invalid state. For instance, trying to perform indexing without starting a session will rise this exception.

class InvalidParameterException : public Audioneex::Exception

This exception is raised as a consequence of invalid parameters being set in the engine. For example trying to perform identification without setting a data store or trying to set parameters with invalid arguments. It is very similar in scope to std::invalid_argument.