source: translator/Common/CompilerError.h@ 643a2e1

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors ctor deferred_resn demangler enum forall-pointer-decay gc_noraii jacob/cs343-translation jenkins-sandbox memory new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new string with_gc
Last change on this file since 643a2e1 was 51b73452, checked in by Peter A. Buhr <pabuhr@…>, 11 years ago

initial commit

  • Property mode set to 100644
File size: 472 bytes
Line 
1#ifndef COMPILER_ERROR_H
2#define COMPILER_ERROR_H
3
4#include <string>
5//#include "../config.h"
6
7class CompilerError : public std::exception
8{
9public:
10 CompilerError();
11 CompilerError( std::string what ) : what( what ) {}
12 ~CompilerError() throw () {}
13
14 std::string get_what() const { return what; }
15 void set_what( std::string newValue ) { what = newValue; }
16
17private:
18 std::string what;
19};
20
21#endif /* COMPILER_ERROR_H */
22
23/*
24 Local Variables:
25 mode: c++
26 End:
27*/
Note: See TracBrowser for help on using the repository browser.