1#include "IRawFile/RawFileExceptions.h"
5 std::cout <<
"[RawFile] RawFileException::print()" << std::endl;
9 std::cout << m_msg << std::endl;
13 std::cout <<
"[RawFile] The file \"" << m_filename <<
"\" is invalid!" << std::endl;
17 std::cout <<
"[RawFile] Failed to read the block: " << m_blockName << std::endl;
21 std::cout <<
"[RawFile] Get an invalid marker, expect 0x" << std::hex << m_expect
22 <<
", but got 0x" << m_value << std::dec << std::endl;
26 std::cout <<
"[RawFile] The size of block \"" << m_blockName <<
"\" is expected as "
27 << m_expect <<
", but got " << m_value << std::endl;
31 std::cout <<
"[RawFile] Reach end of data file: " << m_fileName << std::endl;
34 std::cout <<
"[RawFile] Reach end of data file: " << fname << std::endl;
38 std::cout <<
"[RawFile] Congratulations. Reach end of data file list !" << std::endl;
42 std::cout <<
"[RawFile] Error occurred while writing block: " << m_blockName << std::endl;
virtual void print() const
virtual void print() const
virtual void print() const
virtual void print() const
virtual void print() const
virtual void print() const
virtual void print() const
virtual void print() const