aboutsummaryrefslogtreecommitdiff
path: root/src/exceptionbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/exceptionbase.h')
-rw-r--r--src/exceptionbase.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/exceptionbase.h b/src/exceptionbase.h
index 0a251e4..4cdbf36 100644
--- a/src/exceptionbase.h
+++ b/src/exceptionbase.h
@@ -89,6 +89,17 @@ class name : public Bu::ExceptionBase \
89 name( int nCode=0 ) throw (); \ 89 name( int nCode=0 ) throw (); \
90}; 90};
91 91
92#define subExceptionDeclBegin( name ) \
93class name : public Bu::ExceptionBase \
94{ \
95 public: \
96 name( const char *sFormat, ... ) throw (); \
97 name( int nCode, const char *sFormat, ... ) throw(); \
98 name( int nCode=0 ) throw ();
99
100#define subExceptionDeclEnd() \
101};
102
92#define subExceptionDef( name ) \ 103#define subExceptionDef( name ) \
93name::name( const char *lpFormat, ... ) throw() : \ 104name::name( const char *lpFormat, ... ) throw() : \
94 ExceptionBase( 0 ) \ 105 ExceptionBase( 0 ) \