#ifndef CLUSTER_PARSE_ERROR_HH
# define CLUSTER_PARSE_ERROR_HH

# include "Exception.h"
# include "Symbol.hh"

/** @brief Parsing error
 *
 * This class is thrown when a parsing error was detected during the
 * parsing made on ConfParser or on dummyConfLoader and its sub-classes.
 *
 * It allows to describe quickly what kind of problem occured during
 * the loading of configuration files. 
 */
class ParseError :public Exception {
public:
  ParseError(Symbol const &message)
    :Exception((char *)message.c_str()) {}
  virtual ~ParseError() {}

}; // ParseError

#endif // CLUSTER_PARSE_ERROR_HH
