00001
00002
00003
00004 #include "BaseException.h"
00005
00007 using namespace SctPixelRod;
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 BaseException::BaseException( std::string descriptor) {
00020 m_descriptor = descriptor;
00021 m_numData = 0;
00022 m_type = BASE;
00023 };
00024
00025 void BaseException::what(std::ostream& os) {
00026 os << "BaseException: " << getDescriptor() << std::endl;
00027 };
00028
00030 std::ostream& operator<<(std::ostream& os, SctPixelRod::BaseException& except) {
00031 except.what(os);
00032 return os;
00033 }