lemon/dfs.h
changeset 2151 38ec4a930c05
parent 2092 fc18c2b50a8f
child 2152 ba87d27667cd
equal deleted inserted replaced
29:2cdf7d131b4d 30:b3efb6b9bcb1
   141      * This error represents problems in the initialization
   141      * This error represents problems in the initialization
   142      * of the parameters of the algorithms.
   142      * of the parameters of the algorithms.
   143      */
   143      */
   144     class UninitializedParameter : public lemon::UninitializedParameter {
   144     class UninitializedParameter : public lemon::UninitializedParameter {
   145     public:
   145     public:
   146       virtual const char* exceptionName() const {
   146       virtual const char* what() const throw() {
   147 	return "lemon::Dfs::UninitializedParameter";
   147 	return "lemon::Dfs::UninitializedParameter";
   148       }
   148       }
   149     };
   149     };
   150 
   150 
   151     typedef TR Traits;
   151     typedef TR Traits;
  1221     ///
  1221     ///
  1222     /// This error represents problems in the initialization
  1222     /// This error represents problems in the initialization
  1223     /// of the parameters of the algorithms.
  1223     /// of the parameters of the algorithms.
  1224     class UninitializedParameter : public lemon::UninitializedParameter {
  1224     class UninitializedParameter : public lemon::UninitializedParameter {
  1225     public:
  1225     public:
  1226       virtual const char* exceptionName() const {
  1226       virtual const char* what() const throw() 
  1227 	return "lemon::DfsVisit::UninitializedParameter";
  1227 	return "lemon::DfsVisit::UninitializedParameter";
  1228       }
  1228       }
  1229     };
  1229     };
  1230 
  1230 
  1231     typedef _Traits Traits;
  1231     typedef _Traits Traits;