source:
dev/trunk/jenga/src/common/Exception.cpp@
261
| Last change on this file since 261 was 207, checked in by , 18 years ago | |
|---|---|
| File size: 229 bytes | |
| Line | |
|---|---|
| 1 | #include <jenga/include/common/Exception.h> |
| 2 | |
| 3 | #include <windows.h> |
| 4 | |
| 5 | |
| 6 | namespace Jenga{ |
| 7 | |
| 8 | |
| 9 | void Throw( const std::string &message ) |
| 10 | { |
| 11 | MessageBox( NULL, message.c_str(), "Jenga::Throw", MB_OK ); |
| 12 | throw message; |
| 13 | } |
| 14 | |
| 15 | |
| 16 | } |
Note:
See TracBrowser
for help on using the repository browser.
