Fix debug build of chsgen 07/39107/2
authorLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Fri, 8 May 2015 13:07:58 +0000 (15:07 +0200)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Tue, 12 May 2015 15:03:55 +0000 (08:03 -0700)
commit7d35fb4ddd59f32ab3e13871bc7f9669b22745a2
tree1ebb98b9826a1ce98bb2a6dbc11c6e6f09d2a9f0
parented1c9d53f80e2c58b1a524d4e586044424cf7e7e
Fix debug build of chsgen

Debug build break was caused by usage of Cynara Exceptions
that use LOG macros, that in debug mode use Backtrace information.
We cannot link chsgen (a part of migration tool)
with libcynara-commons that provides implementation for Backtrace
because one of migration tool design concept is that it cannot rely
on cynara's libraries, because it is used in time, when cynara packages
are installed, upgraded, downgraded, removed.

That is instead of CynaraExceptions std::runtime_error is used.

Change-Id: Id5447ca769f0bbef19a2f1f216bc672653e736be
src/chsgen/ChecksumGenerator.cpp