lemon/preflow.h
changeset 2191 ef3560193856
parent 2033 7bf1f64962c2
child 2330 9dccb1abc721
equal deleted inserted replaced
14:b5fbab4bc0a3 15:dd3e4cf3ddcd
   100     ///\ref Exception for the case when s=t.
   100     ///\ref Exception for the case when s=t.
   101 
   101 
   102     ///\ref Exception for the case when the source equals the target.
   102     ///\ref Exception for the case when the source equals the target.
   103     class InvalidArgument : public lemon::LogicError {
   103     class InvalidArgument : public lemon::LogicError {
   104     public:
   104     public:
   105       virtual const char* exceptionName() const {
   105       virtual const char* what() const throw() {
   106 	return "lemon::Preflow::InvalidArgument";
   106 	return "lemon::Preflow::InvalidArgument";
   107       }
   107       }
   108     };
   108     };
   109     
   109     
   110     
   110