aboutsummaryrefslogtreecommitdiff
path: root/src/exceptionbase.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2008-03-24 21:17:48 +0000
committerMike Buland <eichlan@xagasoft.com>2008-03-24 21:17:48 +0000
commit37f43e6004b979a48aa99609264d12511023a956 (patch)
tree21adf6f645bfb2e3cf23e778635a54ba013aa6b2 /src/exceptionbase.h
parent68f4dfa0e2996211a9439809df07e36614618a63 (diff)
downloadlibbu++-37f43e6004b979a48aa99609264d12511023a956.tar.gz
libbu++-37f43e6004b979a48aa99609264d12511023a956.tar.bz2
libbu++-37f43e6004b979a48aa99609264d12511023a956.tar.xz
libbu++-37f43e6004b979a48aa99609264d12511023a956.zip
Removed the backtrace stuff, it had some bugs, and shouldn't be here all the
time anyway. Recompile everything.
Diffstat (limited to '')
-rw-r--r--src/exceptionbase.h7
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
21namespace Bu 20namespace 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