From 603f45fbe9c3e0ac511425a13bbb19b87495bb4e Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sat, 27 Jan 2007 08:43:21 +0000 Subject: Added a function to make the Base Exception class a little friendlier. --- src/exceptionbase.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/exceptionbase.h') 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: */ void setWhat( const char *lpFormat, va_list &vargs ); + /** + * + * @param lpText + */ + void setWhat( const char *lpText ); + private: int nErrorCode; /**< The code for the error that occured. */ char *sWhat; /**< The text string telling people what went wrong. */ -- cgit v1.2.3