Add backtrace to exception message 50/24450/7
authorAdam Malinowski <a.malinowsk2@partner.samsung.com>
Mon, 14 Jul 2014 12:39:55 +0000 (14:39 +0200)
committerAdam Malinowski <a.malinowsk2@partner.samsung.com>
Wed, 16 Jul 2014 07:21:25 +0000 (09:21 +0200)
commit2d8bee5aa14dcdf683a62761cac25e324f50d5e1
tree82efd23c0f369c793685eea615dff0d96d1249d1
parent317c496b68e037c7831705a05480454c36cb4f5b
Add backtrace to exception message

This patch introduces new method 'message()' in class Exception
which must be overloaded by all dervied classes instead of
'what()' method. This is needed to add backtrace info to
exception message.

Change-Id: Ic451578c72566300283843468a32297fdec42f56
15 files changed:
src/common/exceptions/BucketAlreadyExistsException.h
src/common/exceptions/BucketNotExistsException.h
src/common/exceptions/BucketRecordCorruptedException.h
src/common/exceptions/DefaultBucketDeletionException.h
src/common/exceptions/DescriptorNotExistsException.h
src/common/exceptions/Exception.h
src/common/exceptions/InitException.h
src/common/exceptions/InvalidProtocolException.h
src/common/exceptions/NotImplementedException.h
src/common/exceptions/NullPointerException.h
src/common/exceptions/OutOfDataException.h
src/common/exceptions/PluginNotFoundException.h
src/common/exceptions/ServerConnectionErrorException.h
src/common/exceptions/UnexpectedErrorException.h
test/common/exceptions/bucketrecordcorrupted.cpp