diff options
Diffstat (limited to 'src/exceptionbase.cpp')
-rw-r--r-- | src/exceptionbase.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/exceptionbase.cpp b/src/exceptionbase.cpp index 9515e2d..207fa47 100644 --- a/src/exceptionbase.cpp +++ b/src/exceptionbase.cpp | |||
@@ -38,6 +38,7 @@ Bu::ExceptionBase::ExceptionBase( int nCode ) throw() : | |||
38 | } | 38 | } |
39 | 39 | ||
40 | Bu::ExceptionBase::ExceptionBase( const ExceptionBase &e ) throw () : | 40 | Bu::ExceptionBase::ExceptionBase( const ExceptionBase &e ) throw () : |
41 | std::exception( e ), | ||
41 | nErrorCode( e.nErrorCode ), | 42 | nErrorCode( e.nErrorCode ), |
42 | sWhat( NULL ) | 43 | sWhat( NULL ) |
43 | { | 44 | { |
@@ -83,3 +84,8 @@ int Bu::ExceptionBase::getErrorCode() | |||
83 | return nErrorCode; | 84 | return nErrorCode; |
84 | } | 85 | } |
85 | 86 | ||
87 | |||
88 | namespace Bu | ||
89 | { | ||
90 | subExceptionDef( UnsupportedException ) | ||
91 | } | ||