Changeset 3 for trunk/IPs/systemC/processor/Morpheo/Include/ErrorMorpheo.h
- Timestamp:
- Mar 6, 2007, 3:34:04 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Include/ErrorMorpheo.h
r2 r3 29 29 }; 30 30 31 class TestMorpheo : public exception 32 { 33 // -----[ fields ]---------------------------------------------------- 34 private : string _msg; 35 36 // -----[ methods ]--------------------------------------------------- 37 public : TestMorpheo () throw() { _msg = "Test error ...";} 38 public : TestMorpheo (string msg) throw() { _msg = msg;} 39 public : ~TestMorpheo (void) throw() {} 40 public : const char* what () const throw() { return ( _msg.c_str() );} 41 }; 42 31 43 }; // end namespace morpheo 32 44
Note: See TracChangeset
for help on using the changeset viewer.