summaryrefslogtreecommitdiff
path: root/src/exceptionbase.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-10-22 23:24:07 +0000
committerMike Buland <eichlan@xagasoft.com>2007-10-22 23:24:07 +0000
commitae5ea621f06a645dbfcf454e9b8f39a99dc8e822 (patch)
tree5cc4f378dfec6e53fa44b60ab3759500c8efe311 /src/exceptionbase.cpp
parentc55551427b2e8170f91b7e097f8a0f87e3a06305 (diff)
downloadlibbu++-ae5ea621f06a645dbfcf454e9b8f39a99dc8e822.tar.gz
libbu++-ae5ea621f06a645dbfcf454e9b8f39a99dc8e822.tar.bz2
libbu++-ae5ea621f06a645dbfcf454e9b8f39a99dc8e822.tar.xz
libbu++-ae5ea621f06a645dbfcf454e9b8f39a99dc8e822.zip
Made Exceptions copy well...I thought I'd already done this once...
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 )