1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/thread/MutexException.h
12 #ifndef ZYPP_THREAD_MUTEXEXCEPTION_H
13 #define ZYPP_THREAD_MUTEXEXCEPTION_H
15 #include "zypp/base/Exception.h"
18 //////////////////////////////////////////////////////////////////////
20 { ////////////////////////////////////////////////////////////////////
22 ////////////////////////////////////////////////////////////////////
24 { //////////////////////////////////////////////////////////////////
27 ////////////////////////////////////////////////////////////////
29 // CLASS NAME : MutexException
31 /** Exception type thrown on mutex errors.
33 class MutexException: public zypp::Exception
37 : zypp::Exception( ::zypp::Exception::strErrno(errno))
40 MutexException(const std::string &msg)
41 : zypp::Exception( msg)
44 virtual ~MutexException() throw()
49 //////////////////////////////////////////////////////////////////
51 ////////////////////////////////////////////////////////////////////
53 ////////////////////////////////////////////////////////////////////
55 //////////////////////////////////////////////////////////////////////
57 #endif // ZYPP_THREAD_MUTEXEXCEPTION_H
59 ** vim: set ts=2 sts=2 sw=2 ai et: