/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Event/IRawFile/IRawFile-00-00-05/src/RawFileExceptions.cxx

Go to the documentation of this file.
00001 #include "IRawFile/RawFileExceptions.h"
00002 #include <iostream>
00003 
00004 void RawFileException::print() const {
00005    std::cout << "[RawFile] RawFileException::print()" << std::endl;
00006 }
00007 
00008 void RawExMessage::print() const {
00009    std::cout << m_msg << std::endl;
00010 }
00011 
00012 void InvalidRawFile::print() const {
00013    std::cout << "[RawFile] The file \"" << m_filename << "\" is invalid!" << std::endl;
00014 }
00015 
00016 void BadInputStream::print() const {
00017    std::cout << "[RawFile] Failed to read the block: " << m_blockName << std::endl;
00018 }
00019 
00020 void WrongMarker::print() const {
00021    std::cout << "[RawFile] Get an invalid marker, expect 0x" << std::hex << m_expect
00022       << ", but got 0x" << m_value << std::dec << std::endl;
00023 }
00024 
00025 void UnexpectedRecordSize::print() const {
00026    std::cout << "[RawFile] The size of block \"" << m_blockName << "\" is expected as "
00027       << m_expect << ", but got " << m_value << std::endl;
00028 }
00029 
00030 void ReachEndOfFile::print() const {
00031    std::cout << "[RawFile] Reach end of data file: " << m_fileName << std::endl;
00032 }
00033 void ReachEndOfFile::print(const char* fname) const {
00034    std::cout << "[RawFile] Reach end of data file: " << fname << std::endl;
00035 }
00036 
00037 void ReachEndOfFileList::print() const {
00038    std::cout << "[RawFile] Congratulations. Reach end of data file list !" << std::endl;
00039 }
00040 
00041 void FailedToWrite::print() const {
00042    std::cout << "[RawFile] Error occurred while writing block: " << m_blockName << std::endl;
00043 }

Generated on Tue Nov 29 22:58:30 2016 for BOSS_7.0.2 by  doxygen 1.4.7