Go to the documentation of this file.00001 #ifndef OPENTISSUE_UTILITY_DISPATCHERS_DISPATCHERS_UNBOUND_DISPATCH_FUNCTION_H
00002 #define OPENTISSUE_UTILITY_DISPATCHERS_DISPATCHERS_UNBOUND_DISPATCH_FUNCTION_H
00003
00004
00005
00006
00007
00008
00009
00010 #include <OpenTissue/configuration.h>
00011
00012 #include <stdexcept>
00013
00014 namespace OpenTissue
00015 {
00016 namespace utility
00017 {
00018 namespace dispatchers
00019 {
00020
00021
00027 class UnboundDispatchFunction
00028 : public std::runtime_error
00029 {
00030 public:
00031
00037 explicit UnboundDispatchFunction(std::string const & __arg = "Unbound Dispatch Function for this combination")
00038 : std::runtime_error(__arg.c_str())
00039 {}
00040
00046 virtual char const * what() const throw()
00047 {
00048 return std::runtime_error::what();
00049 }
00050 };
00051
00052 }
00053 }
00054 }
00055
00056
00057 #endif