1#ifndef BES_RAWFILE_EXCEPTIONS_H
2#define BES_RAWFILE_EXCEPTIONS_H
33 std::string m_filename;
44 std::string m_blockName;
49 WrongMarker(uint32_t expect, uint32_t value) : m_expect(expect), m_value(value) {}
62 : m_blockName(block_name), m_expect(expect), m_value(value) {
69 std::string m_blockName;
77 : m_fileName(fileName) {
82 void print(
const char* fname)
const;
85 std::string m_fileName;
102 std::string m_blockName;
FailedToWrite(const char *block_name)
virtual void print() const
virtual void print() const
InvalidRawFile(const char *filename)
virtual ~InvalidRawFile()
virtual void print() const
RawExMessage(const char *msg)
virtual ~RawFileException()
virtual void print() const
virtual void print() const
virtual void print() const
void print(const char *fname) const
ReachEndOfFile(const char *fileName)
virtual ~ReachEndOfFile()
UnexpectedRecordSize(const char *block_name, uint32_t expect, uint32_t value)
virtual void print() const
virtual ~UnexpectedRecordSize()
virtual void print() const
WrongMarker(uint32_t expect, uint32_t value)