25 #ifndef CPN_EXCEPTIONS_H
26 #define CPN_EXCEPTIONS_H
42 const
char* what() const throw() {
return "The kernel has shutdown."; }
53 message =
"Queue types " + type1 +
" != " + type2;
56 const
char* what() const throw() {
return message.c_str(); }
69 const char*
what()
const throw() {
return msg.c_str(); }
TypeMismatchException(const std::string &type1, const std::string &type2)
An exception indicating that the node tried to write to a shutdown queue.
An exception indicating that there is a type mismatch in the queue.
An exception indicating that the Kernel has shut down.
const char * what() const