COIN-OR::LEMON - Graph Library

Changeset 1125:377e240b050f in lemon-0.x for src/lemon


Ignore:
Timestamp:
02/05/05 21:05:01 (19 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1524
Message:

A new exception class called UninitializedParameter?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/error.h

    r1122 r1125  
    127127   * program runs (e.g., violations of class invariants).
    128128   *
    129    * For a typical example \see UninitializedParameterError.
     129   * A typical example for this is \ref UninitializedParameter.
    130130   */
    131131  class LogicError : public Exception {
     
    133133    virtual const char* exceptionName() const {
    134134      return "lemon::LogicError";
     135    }
     136  };
     137
     138  /**
     139   * \brief \ref Exception for uninitialized parameters.
     140   *
     141   * This error represents problems in the initialization
     142   * of the parameters of the algorithms.
     143   */
     144  class UninitializedParameter : public LogicError {
     145  public:
     146    virtual const char* exceptionName() const {
     147      return "lemon::UninitializedParameter";
    135148    }
    136149  };
Note: See TracChangeset for help on using the changeset viewer.