summaryrefslogtreecommitdiff
path: root/src/exceptionbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/exceptionbase.cpp')
-rw-r--r--src/exceptionbase.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/exceptionbase.cpp b/src/exceptionbase.cpp
index f6ec625..73a7b0e 100644
--- a/src/exceptionbase.cpp
+++ b/src/exceptionbase.cpp
@@ -29,6 +29,13 @@ Bu::ExceptionBase::ExceptionBase( int nCode ) throw() :
29{ 29{
30} 30}
31 31
32Bu::ExceptionBase::ExceptionBase( const ExceptionBase &e ) throw () :
33 nErrorCode( e.nErrorCode ),
34 sWhat( NULL )
35{
36 setWhat( e.sWhat );
37}
38
32Bu::ExceptionBase::~ExceptionBase() throw() 39Bu::ExceptionBase::~ExceptionBase() throw()
33{ 40{
34 if( sWhat ) 41 if( sWhat )