diff options
Diffstat (limited to 'src/exceptionbase.h')
| -rw-r--r-- | src/exceptionbase.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/exceptionbase.h b/src/exceptionbase.h index 4d1d2ff..37f4418 100644 --- a/src/exceptionbase.h +++ b/src/exceptionbase.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | // and it also changes the class interface, we should find out how much of | 16 | // and it also changes the class interface, we should find out how much of |
| 17 | // an issue that is, we could just put in an empty getBacktrace() function for | 17 | // an issue that is, we could just put in an empty getBacktrace() function for |
| 18 | // when you don't have support for it... | 18 | // when you don't have support for it... |
| 19 | #define LIBBU_EXCEPTION_BACKTRACE | ||
| 20 | 19 | ||
| 21 | namespace Bu | 20 | namespace Bu |
| 22 | { | 21 | { |
| @@ -89,15 +88,9 @@ namespace Bu | |||
| 89 | */ | 88 | */ |
| 90 | void setWhat( const char *lpText ); | 89 | void setWhat( const char *lpText ); |
| 91 | 90 | ||
| 92 | const char *getBacktrace() const throw(); | ||
| 93 | |||
| 94 | private: | 91 | private: |
| 95 | int nErrorCode; /**< The code for the error that occured. */ | 92 | int nErrorCode; /**< The code for the error that occured. */ |
| 96 | char *sWhat; /**< The text string telling people what went wrong. */ | 93 | char *sWhat; /**< The text string telling people what went wrong. */ |
| 97 | #ifdef LIBBU_EXCEPTION_BACKTRACE | ||
| 98 | char *sBT; /**< The backtrace text. */ | ||
| 99 | void createBacktrace(); | ||
| 100 | #endif | ||
| 101 | }; | 94 | }; |
| 102 | } | 95 | } |
| 103 | 96 | ||
