summaryrefslogtreecommitdiff
path: root/src/include/parser_exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/parser_exception.h')
-rw-r--r--src/include/parser_exception.h37
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 */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback