25 virtual const char* what()
const throw() = 0;
26 virtual std::ostream& out(std::ostream& cout)
const
39 const char* what()
const throw()
40 {
return "ldpk::error: index out of range"; }
41 std::ostream& out(std::ostream& cout)
const
42 {
return cout << _i <<
", range [" << _a <<
"," << _b <<
"]"; }
51 const char* what()
const throw()
52 {
return "ldpk::error: end of stream"; }
66 const char* what()
const throw()
67 {
return "ldpk::error: undefined parameter"; }
68 std::ostream& out(std::ostream& cout)
const
69 {
return cout << _obj; }
81 const char* what()
const throw()
82 {
return "ldpk::error: could not read value"; }
83 std::ostream& out(std::ostream& cout)
const
84 {
return cout <<
"for parameter '" << _parname <<
"'"; }
93 const char* what()
const throw()
94 {
return "ldpk::error: could not read parameter name"; }
103 const char* what()
const throw()
104 {
return "ldpk::error: no model specified"; }
114 { strncpy(_dlmsg,dlmsg,256); }
117 const char* what()
const throw()
118 {
return "ldpk::error: dynamic load/link"; }
Some index was out of range.
Definition: ldpk_error.h:30
An error occurred while loading or linking the plugin.
Definition: ldpk_error.h:107
Another parse error.
Definition: ldpk_error.h:87
Unexpected end of stream. This can occur in ldpk::model_parser.
Definition: ldpk_error.h:45
No model was set in one of the utility classes.
Definition: ldpk_error.h:97
Base class for errors.
Definition: ldpk_error.h:22
A parse error.
Definition: ldpk_error.h:72
Undefined parameter.
Definition: ldpk_error.h:55