Inherit from Exception in FileLockAcquiringException 57/32757/3
authorAleksander Zdyb <a.zdyb@samsung.com>
Tue, 23 Dec 2014 13:11:15 +0000 (14:11 +0100)
committerAleksander Zdyb <a.zdyb@samsung.com>
Tue, 23 Dec 2014 14:57:31 +0000 (15:57 +0100)
Change-Id: I40eb3f6b906f34261f8c6b6596e0afb503e41e7a

src/common/exceptions/FileLockAcquiringException.h

index 44bc54a..4640719 100644 (file)
 
 namespace Cynara {
 
-class FileLockAcquiringException {
+class FileLockAcquiringException : public Exception {
 public:
     FileLockAcquiringException(const int errNumber) : m_errno(errNumber) {
         m_message = "File lock acquiring error [" + std::to_string(errorNumber()) + "]"
                     + " <" + errorString() + ">";
     };
+
     virtual ~FileLockAcquiringException() {};
 
     const std::string &message(void) const {