From: Lukasz Wojciechowski Date: Tue, 14 Oct 2014 12:45:27 +0000 (+0200) Subject: Move TryCatch from client-common to common library X-Git-Tag: submit/R4/20141115.054144~51 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5dca2a965490bd53fa00ac2d8c612b0653eb9fa7;p=platform%2Fcore%2Fsecurity%2Fcynara.git Move TryCatch from client-common to common library TryCatch can be used also in admin libraries, so it belongs to common library now. Change-Id: Ibdd9c1576b9b34195555c2d9b43e72b57a83a201 --- diff --git a/src/client-common/exceptions/TryCatch.h b/src/common/exceptions/TryCatch.h similarity index 88% rename from src/client-common/exceptions/TryCatch.h rename to src/common/exceptions/TryCatch.h index 08b93d9..b1ef172 100644 --- a/src/client-common/exceptions/TryCatch.h +++ b/src/common/exceptions/TryCatch.h @@ -14,14 +14,14 @@ * limitations under the License */ /** - * @file src/client-common/exceptions/TryCatch.h + * @file src/common/exceptions/TryCatch.h * @author Marcin Niesluchowski * @version 1.0 * @brief This file contains functions for catching exceptions */ -#ifndef SRC_CLIENT_COMMON_EXCEPTIONS_TRYCATCH_H_ -#define SRC_CLIENT_COMMON_EXCEPTIONS_TRYCATCH_H_ +#ifndef SRC_COMMON_EXCEPTIONS_TRYCATCH_H_ +#define SRC_COMMON_EXCEPTIONS_TRYCATCH_H_ #include #include @@ -54,5 +54,4 @@ int tryCatch(const std::function &func) { } // namespace Cynara -#endif // SRC_CLIENT_COMMON_EXCEPTIONS_TRYCATCH_H_ - +#endif // SRC_COMMON_EXCEPTIONS_TRYCATCH_H_