diff options
author | Morgan Deters <mdeters@gmail.com> | 2009-11-17 16:40:19 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2009-11-17 16:40:19 +0000 |
commit | 0201aa29bea8467e5cc07f2d0af68a4da3e86ec1 (patch) | |
tree | 548f42c4244176fb91956e9571451842fd85e482 /src/include/parser_exception.h | |
parent | 7293554b109742697d4d928ed7b58acadc6de947 (diff) |
fixes/redesign of source layout from meeting
Diffstat (limited to 'src/include/parser_exception.h')
-rw-r--r-- | src/include/parser_exception.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/include/parser_exception.h b/src/include/parser_exception.h deleted file mode 100644 index debb75e70..000000000 --- a/src/include/parser_exception.h +++ /dev/null @@ -1,37 +0,0 @@ -/********************* -*- C++ -*- */ -/** parser_exception.h - ** This file is part of the CVC4 prototype. - ** Copyright (c) 2009 The Analysis of Computer Systems Group (ACSys) - ** Courant Institute of Mathematical Sciences - ** New York University - ** See the file COPYING in the top-level source directory for licensing - ** information. - ** - ** Exception class. - **/ - -#ifndef __CVC4_PARSER_EXCEPTION_H -#define __CVC4_PARSER_EXCEPTION_H - -#include "exception.h" -#include <string> -#include <iostream> - -namespace CVC4 { - - class ParserException: public Exception { - public: - // Constructors - ParserException() { } - ParserException(const std::string& msg): Exception(msg) { } - ParserException(const char* msg): Exception(msg) { } - // Destructor - virtual ~ParserException() { } - virtual std::string toString() const { - return "Parse Error: " + d_msg; - } - }; // end of class ParserException - -}/* CVC4 namespace */ - -#endif /* __CVC4_PARSER_EXCEPTION_H */ |