diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-01-27 08:43:21 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-01-27 08:43:21 +0000 |
commit | 603f45fbe9c3e0ac511425a13bbb19b87495bb4e (patch) | |
tree | 9245c365fff8a2c05e3c4beef31aaff28c590668 /src/exceptionbase.h | |
parent | 9aad98489f7bbf78418dcba4a5faf673b58843cb (diff) | |
download | libbu++-603f45fbe9c3e0ac511425a13bbb19b87495bb4e.tar.gz libbu++-603f45fbe9c3e0ac511425a13bbb19b87495bb4e.tar.bz2 libbu++-603f45fbe9c3e0ac511425a13bbb19b87495bb4e.tar.xz libbu++-603f45fbe9c3e0ac511425a13bbb19b87495bb4e.zip |
Added a function to make the Base Exception class a little friendlier.
Diffstat (limited to 'src/exceptionbase.h')
-rw-r--r-- | src/exceptionbase.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/exceptionbase.h b/src/exceptionbase.h index 7c3cbd9..6f1eca7 100644 --- a/src/exceptionbase.h +++ b/src/exceptionbase.h | |||
@@ -60,6 +60,12 @@ public: | |||
60 | */ | 60 | */ |
61 | void setWhat( const char *lpFormat, va_list &vargs ); | 61 | void setWhat( const char *lpFormat, va_list &vargs ); |
62 | 62 | ||
63 | /** | ||
64 | * | ||
65 | * @param lpText | ||
66 | */ | ||
67 | void setWhat( const char *lpText ); | ||
68 | |||
63 | private: | 69 | private: |
64 | int nErrorCode; /**< The code for the error that occured. */ | 70 | int nErrorCode; /**< The code for the error that occured. */ |
65 | char *sWhat; /**< The text string telling people what went wrong. */ | 71 | char *sWhat; /**< The text string telling people what went wrong. */ |