diff -r 12623f7ecb37 -r 377e240b050f src/lemon/error.h --- a/src/lemon/error.h Sat Feb 05 13:40:01 2005 +0000 +++ b/src/lemon/error.h Sat Feb 05 20:05:01 2005 +0000 @@ -126,7 +126,7 @@ * in theory, these are preventable, and even detectable before the * program runs (e.g., violations of class invariants). * - * For a typical example \see UninitializedParameterError. + * A typical example for this is \ref UninitializedParameter. */ class LogicError : public Exception { public: @@ -135,6 +135,19 @@ } }; + /** + * \brief \ref Exception for uninitialized parameters. + * + * This error represents problems in the initialization + * of the parameters of the algorithms. + */ + class UninitializedParameter : public LogicError { + public: + virtual const char* exceptionName() const { + return "lemon::UninitializedParameter"; + } + }; + /** * \brief One of the two main subclasses of \ref Exception.