source:
branches/nameserver/GDE/MUSCLE/src/onexception.cpp
| Last change on this file was 10390, checked in by aboeckma, 12 years ago | |
|---|---|
| File size: 302 bytes | |
| Line | |
|---|---|
| 1 | #include "muscle.h" |
| 2 | #include <stdio.h> |
| 3 | |
| 4 | static char szOnExceptionMessage[] = |
| 5 | { |
| 6 | "\nFatal error, exception caught.\n" |
| 7 | }; |
| 8 | |
| 9 | void OnException() |
| 10 | { |
| 11 | fprintf(stderr, "%s", szOnExceptionMessage); |
| 12 | Log("%s", szOnExceptionMessage); |
| 13 | Log("Finished %s\n", GetTimeAsStr()); |
| 14 | exit(EXIT_Except); |
| 15 | } |
Note: See TracBrowser
for help on using the repository browser.
