Clean up exception classes 15/28715/4
authorLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Tue, 14 Oct 2014 07:21:41 +0000 (09:21 +0200)
committerLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Thu, 16 Oct 2014 11:24:27 +0000 (13:24 +0200)
commit8c151752c38ea5572e4d2efbdc3ae55292ae8820
treeb5976d2b60033fa8c2d0367f3158bd9fd706c8dc
parentadedddc8dbb050342f883b8966b9fe3fad5207f8
Clean up exception classes

Some minor clean-ups in exceptions classes:
* remove "noexcept" keyword from exception classes;
* catch exceptions in Exception::what();
* correcting comments;
* adding missing virtual keyword;
* rearranging public and private sections.

Change-Id: I99c382838adb22429a7ea8ac35974c988b3d3f33
19 files changed:
src/common/exceptions/BucketDeserializationException.h
src/common/exceptions/BucketNotExistsException.h
src/common/exceptions/BucketRecordCorruptedException.h
src/common/exceptions/BucketSerializationException.h
src/common/exceptions/CannotCreateFileException.h
src/common/exceptions/DatabaseException.h
src/common/exceptions/DefaultBucketDeletionException.h
src/common/exceptions/DefaultBucketSetNoneException.h
src/common/exceptions/DescriptorNotExistsException.h
src/common/exceptions/Exception.h
src/common/exceptions/FileNotFoundException.h
src/common/exceptions/InitException.h
src/common/exceptions/InvalidProtocolException.h
src/common/exceptions/NoMemoryException.h
src/common/exceptions/NotImplementedException.h
src/common/exceptions/NullPointerException.h
src/common/exceptions/OutOfDataException.h
src/common/exceptions/PluginNotFoundException.h
src/common/exceptions/UnexpectedErrorException.h