CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
RawFileExceptions.cxx
Go to the documentation of this file.
2#include <iostream>
3
5 std::cout << "[RawFile] RawFileException::print()" << std::endl;
6}
7
8void RawExMessage::print() const {
9 std::cout << m_msg << std::endl;
10}
11
13 std::cout << "[RawFile] The file \"" << m_filename << "\" is invalid!" << std::endl;
14}
15
17 std::cout << "[RawFile] Failed to read the block: " << m_blockName << std::endl;
18}
19
20void WrongMarker::print() const {
21 std::cout << "[RawFile] Get an invalid marker, expect 0x" << std::hex << m_expect
22 << ", but got 0x" << m_value << std::dec << std::endl;
23}
24
26 std::cout << "[RawFile] The size of block \"" << m_blockName << "\" is expected as "
27 << m_expect << ", but got " << m_value << std::endl;
28}
29
31 std::cout << "[RawFile] Reach end of data file: " << m_fileName << std::endl;
32}
33void ReachEndOfFile::print(const char* fname) const {
34 std::cout << "[RawFile] Reach end of data file: " << fname << std::endl;
35}
36
38 std::cout << "[RawFile] Congratulations. Reach end of data file list !" << std::endl;
39}
40
42 std::cout << "[RawFile] Error occurred while writing block: " << m_blockName << std::endl;
43}
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
virtual void print() const