fort::hermes Exception and Errors

fort::hermes::EndOfFile

class EndOfFile : public std::exception

Exception thrown by Context which does not contains data anymore.

fort::hermes::WouldBlock

class WouldBlock : public std::exception

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

fort::hermes::InternalError

class InternalError : public cpptrace::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 UnexpectedEndOfFileSequence : public cpptrace::runtime_error

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

const fort::hermes::FileLineContext &FileLineContext() const
Returns

the segment path where the error occured