[Issue#] PSDAC-64
[Bug] N/A
[Cause] N/A
[Solution] N/A
[Verfication] Build and install all packages with rpm.
Change-Id: Ieab52a7fc102d191776a4087cb21aca02351871f
--- /dev/null
+#ifndef SECURITY_CONTAINERS_CLIENT_EXCEPTION_HPP
+#define SECURITY_CONTAINERS_CLIENT_EXCEPTION_HPP
+
+#include <stdexcept>
+
+namespace security_containers {
+
+/**
+ * @brief Base class for exceptions in Security Containers Client
+ */
+struct ClientException: public std::runtime_error {
+ ServerException(const std::string& mess = "Security Containers Client Exception"):
+ std::runtime_error(mess) {};
+};
+
+}
+
+#endif // SECURITY_CONTAINERS_CLIENT_EXCEPTION_HPP
--- /dev/null
+#ifndef SECURITY_CONTAINERS_SERVER_EXCEPTION_HPP
+#define SECURITY_CONTAINERS_SERVER_EXCEPTION_HPP
+
+#include <stdexcept>
+
+namespace security_containers {
+
+/**
+ * @brief Base class for exceptions in Security Containers Server
+ */
+struct ServerException: public std::runtime_error {
+ ServerException(const std::string& mess = "Security Containers Server Exception"):
+ std::runtime_error(mess) {};
+};
+
+}
+
+#endif // SECURITY_CONTAINERS_SERVER_EXCEPTION_HPP