lemon/edmonds_karp.h
changeset 2186 284a9ad118dd
parent 2113 48ec8161f9e1
child 2376 0ed45a6c74b1
equal deleted inserted replaced
4:534e2b05f2ee 5:e9af85c4ba76
    68     ///
    68     ///
    69     /// \ref Exception for the case when the source equals the target.
    69     /// \ref Exception for the case when the source equals the target.
    70     ///
    70     ///
    71     class InvalidArgument : public lemon::LogicError {
    71     class InvalidArgument : public lemon::LogicError {
    72     public:
    72     public:
    73       virtual const char* exceptionName() const {
    73       virtual const char* what() const throw() {
    74 	return "lemon::EdmondsKarp::InvalidArgument";
    74 	return "lemon::EdmondsKarp::InvalidArgument";
    75       }
    75       }
    76     };
    76     };
    77 
    77 
    78 
    78