source:
dev/trunk/jenga/src/common/Exception.cpp@
271
Last change on this file since 271 was 207, checked in by , 17 years ago | |
---|---|
File size: 229 bytes |
Rev | Line | |
---|---|---|
[207] | 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.