00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #include "ConfigurationExceptions.h"
00019 #include <iostream>
00020
00021 using namespace CODEX_Server;
00022
00023 void
00024 BadConfigurationException::derivedMsg() const
00025 {
00026 cerr << "\n Bad configuration in " << m_config_file << ": ";
00027 errMsg();
00028 }
00029
00030 void
00031 BCParameterNotDefinedException::errMsg() const
00032 {
00033 cerr << m_parameter << " is not defined";
00034 }
00035
00036 void
00037 BCBadValueException::errMsg() const
00038 {
00039 cerr << "bad value for " << m_parameter;
00040 }