/* * ParseError.h * * Created on: Feb 10, 2010 * Author: petergoodman * Version: $Id$ */ #ifndef PARSEERROR_H_ #define PARSEERROR_H_ #include #include using namespace std; /** * Simple parse error runtime exception. */ struct ParseError : public runtime_error { explicit ParseError(const string &s) : runtime_error(s) { } virtual ~ParseError() throw() { } }; #endif /* PARSEERROR_H_ */