2010-02-11 17:24:21 +01:00
|
|
|
#ifndef _OWLPS_POSITIONING_POSEXCEPT_HH_
|
|
|
|
#define _OWLPS_POSITIONING_POSEXCEPT_HH_
|
|
|
|
|
|
|
|
#include <exception>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
|
2010-02-18 12:23:05 +01:00
|
|
|
class bad_direction: public std::exception
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
char direction ;
|
|
|
|
|
|
|
|
public:
|
|
|
|
bad_direction(const char _direction) throw() ;
|
|
|
|
const char* what() const throw() ;
|
|
|
|
} ;
|
|
|
|
|
|
|
|
|
2010-02-11 18:33:45 +01:00
|
|
|
class element_not_found: public std::exception
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
std::string explanation ;
|
|
|
|
|
|
|
|
public:
|
|
|
|
element_not_found(const std::string &_explanation) throw() ;
|
|
|
|
~element_not_found(void) throw() {}
|
|
|
|
const char* what(void) const throw() ;
|
|
|
|
} ;
|
|
|
|
|
|
|
|
|
2010-02-11 17:24:21 +01:00
|
|
|
class input_medium_type_unknown: public std::exception
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
std::string medium_name ;
|
|
|
|
|
|
|
|
public:
|
|
|
|
input_medium_type_unknown(const std::string &_medium_name) throw() ;
|
|
|
|
~input_medium_type_unknown(void) throw() {}
|
|
|
|
const char* what(void) const throw() ;
|
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
|
|
class no_input_medium: public std::exception
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
const char* what() const throw() ;
|
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
|
|
class null_input_medium: public std::exception
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
const char* what() const throw() ;
|
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
|
|
class no_input_csv_file: public std::exception
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
const char* what() const throw() ;
|
|
|
|
} ;
|
|
|
|
|
2010-02-11 18:33:45 +01:00
|
|
|
|
2010-02-16 16:19:39 +01:00
|
|
|
class no_log_csv_file: public std::exception
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
const char* what() const throw() ;
|
|
|
|
} ;
|
|
|
|
|
|
|
|
|
2010-02-11 18:33:45 +01:00
|
|
|
class error_opening_input_file: public std::exception
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
std::string file_name ;
|
|
|
|
|
|
|
|
public:
|
|
|
|
error_opening_input_file(const std::string &_file_name) throw() ;
|
|
|
|
~error_opening_input_file(void) throw() {}
|
|
|
|
const char* what(void) const throw() ;
|
|
|
|
} ;
|
|
|
|
|
|
|
|
|
2010-02-11 17:24:21 +01:00
|
|
|
#endif // _OWLPS_POSITIONING_POSEXCEPT_HH_
|