source: translator/Common/UnimplementedError.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: 595 bytes
Line 
1/*
2 * This file is part of the Cforall project
3 *
4 * $Id: UnimplementedError.h,v 1.1 2002/09/02 20:31:53 rcbilson Exp $
5 *
6 */
7
8#ifndef COMMON_UNIMPLEMENTEDERROR_H
9#define COMMON_UNIMPLEMENTEDERROR_H
10
11#include <string>
12
13class UnimplementedError : public std::exception
14{
15public:
16 UnimplementedError();
17 UnimplementedError( std::string what ) : what( what ) {}
18 ~UnimplementedError() throw () {}
19
20 std::string get_what() const { return what; }
21 void set_what( std::string newValue ) { what = newValue; }
22
23private:
24 std::string what;
25};
26
27#endif /* #ifndef COMMON_UNIMPLEMENTEDERROR_H */
Note: See TracBrowser for help on using the repository browser.