diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2007-10-22 23:24:07 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2007-10-22 23:24:07 +0000 |
| commit | ae5ea621f06a645dbfcf454e9b8f39a99dc8e822 (patch) | |
| tree | 5cc4f378dfec6e53fa44b60ab3759500c8efe311 /src/exceptionbase.cpp | |
| parent | c55551427b2e8170f91b7e097f8a0f87e3a06305 (diff) | |
| download | libbu++-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.cpp | 7 |
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 | ||
| 32 | Bu::ExceptionBase::ExceptionBase( const ExceptionBase &e ) throw () : | ||
| 33 | nErrorCode( e.nErrorCode ), | ||
| 34 | sWhat( NULL ) | ||
| 35 | { | ||
| 36 | setWhat( e.sWhat ); | ||
| 37 | } | ||
| 38 | |||
| 32 | Bu::ExceptionBase::~ExceptionBase() throw() | 39 | Bu::ExceptionBase::~ExceptionBase() throw() |
| 33 | { | 40 | { |
| 34 | if( sWhat ) | 41 | if( sWhat ) |
