source: translator/Common/UnimplementedError.h @ 51b7345

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change on this file since 51b7345 was 51b7345, checked in by Peter A. Buhr <pabuhr@…>, 10 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.