equal
deleted
inserted
replaced
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 |