40 lines
773 B
C++
40 lines
773 B
C++
|
#include "posexcept.hh"
|
||
|
|
||
|
using namespace std ;
|
||
|
|
||
|
|
||
|
/**
|
||
|
* @param _medium_name The medium that is unknown
|
||
|
*/
|
||
|
input_medium_type_unknown::
|
||
|
input_medium_type_unknown(const string &_medium_name) throw()
|
||
|
{
|
||
|
medium_name = _medium_name ;
|
||
|
}
|
||
|
|
||
|
|
||
|
const char* input_medium_type_unknown::what() const throw()
|
||
|
{
|
||
|
string message = "The specified input medium « "+ medium_name +
|
||
|
" » is unknown!" ;
|
||
|
return message.c_str() ;
|
||
|
}
|
||
|
|
||
|
|
||
|
const char* no_input_medium::what() const throw()
|
||
|
{
|
||
|
return "No input medium specified in configuration!" ;
|
||
|
}
|
||
|
|
||
|
|
||
|
const char* null_input_medium::what() const throw()
|
||
|
{
|
||
|
return "The input medium is not initialised!" ;
|
||
|
}
|
||
|
|
||
|
|
||
|
const char* no_input_csv_file::what() const throw()
|
||
|
{
|
||
|
return "No input CSV file specified in the configuration!" ;
|
||
|
}
|