1.1 --- a/src/lemon/error.h Sat Feb 05 13:40:01 2005 +0000
1.2 +++ b/src/lemon/error.h Sat Feb 05 20:05:01 2005 +0000
1.3 @@ -126,7 +126,7 @@
1.4 * in theory, these are preventable, and even detectable before the
1.5 * program runs (e.g., violations of class invariants).
1.6 *
1.7 - * For a typical example \see UninitializedParameterError.
1.8 + * A typical example for this is \ref UninitializedParameter.
1.9 */
1.10 class LogicError : public Exception {
1.11 public:
1.12 @@ -135,6 +135,19 @@
1.13 }
1.14 };
1.15
1.16 + /**
1.17 + * \brief \ref Exception for uninitialized parameters.
1.18 + *
1.19 + * This error represents problems in the initialization
1.20 + * of the parameters of the algorithms.
1.21 + */
1.22 + class UninitializedParameter : public LogicError {
1.23 + public:
1.24 + virtual const char* exceptionName() const {
1.25 + return "lemon::UninitializedParameter";
1.26 + }
1.27 + };
1.28 +
1.29
1.30 /**
1.31 * \brief One of the two main subclasses of \ref Exception.