fort::hermes Exception and Errors

fort::hermes::EndOfFile

class EndOfFile : public exception

Exception thrown by Context which does not contains data anymore.

fort::hermes::WouldBlock

class WouldBlock : public exception

Exception throw by non-blockinf NetworkContext when no message are ready in the context.

fort::hermes::InternalError

class fort::hermes::InternalError : public runtime_error

Represents any kinds of errors with hermes file sequence or streams.

Public Functions

fh_error_code_e Code() const
Returns

the associated fh_error_code_e

fort::hermes::UnexpectedEndOfFileSequence

class fort::hermes::UnexpectedEndOfFileSequence : public exception

Exception thrown by FileContext when an error occured while reading a file sequence.

Such errors happens when during acquisition of the data, the disk became full and the file where truncated.

Public Functions

inline const std::string &SegmentFilePath() const
Returns

the segment path where the error occured