From 56d26456174cf9abd58fec38bfd700ed08ec73d8 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 13 Jul 2007 02:01:38 +0000 Subject: Exceptions are better, but not all switched over yet. --- src/exceptionbase.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/exceptionbase.h') 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 \ name( int nCode=0 ) throw (); \ }; +#define subExceptionDeclBegin( name ) \ +class name : public Bu::ExceptionBase \ +{ \ + public: \ + name( const char *sFormat, ... ) throw (); \ + name( int nCode, const char *sFormat, ... ) throw(); \ + name( int nCode=0 ) throw (); + +#define subExceptionDeclEnd() \ +}; + #define subExceptionDef( name ) \ name::name( const char *lpFormat, ... ) throw() : \ ExceptionBase( 0 ) \ -- cgit v1.2.3