18f027e4462aaac1534016acd4a8cea1cb10ac71
1 /********************* -*- C++ -*- */
3 ** This file is part of the CVC4 prototype.
4 ** Copyright (c) 2009 The Analysis of Computer Systems Group (ACSys)
5 ** Courant Institute of Mathematical Sciences
7 ** See the file COPYING in the top-level source directory for licensing
13 #ifndef __CVC4_PARSER_EXCEPTION_H
14 #define __CVC4_PARSER_EXCEPTION_H
16 #include "core/exception.h"
22 class ParserException
: public Exception
{
26 ParserException(const std::string
& msg
): Exception(msg
) { }
27 ParserException(const char* msg
): Exception(msg
) { }
29 virtual ~ParserException() { }
30 virtual std::string
toString() const {
31 return "Parse Error: " + d_msg
;
33 }; // end of class ParserException
37 #endif /* __CVC4_PARSER_EXCEPTION_H */