lemon/bellman_ford.h
changeset 2236 9f329faa4aee
parent 2111 ea1fa1bc3f6d
child 2260 4274224f8a7d
equal deleted inserted replaced
10:01fc1686fd55 11:8a18d0b8eac6
   190     /// This error represents problems in the initialization
   190     /// This error represents problems in the initialization
   191     /// of the parameters of the algorithms.
   191     /// of the parameters of the algorithms.
   192 
   192 
   193     class UninitializedParameter : public lemon::UninitializedParameter {
   193     class UninitializedParameter : public lemon::UninitializedParameter {
   194     public:
   194     public:
   195       virtual const char* exceptionName() const {
   195       virtual const char* what() const throw() {
   196 	return "lemon::BellmanFord::UninitializedParameter";
   196 	return "lemon::BellmanFord::UninitializedParameter";
   197       }
   197       }
   198     };
   198     };
   199 
   199 
   200     typedef _Traits Traits;
   200     typedef _Traits Traits;