The exception thrown when an operation is performed on a ConcurrentResourcesUser object but the lock is not in the correct status. More...
Public Member Functions | |
WrongResourceLockStatusForOperation (const char *operationName, bool lockStatusLocked) throw () | |
Constructor. | |
WrongResourceLockStatusForOperation (const WrongResourceLockStatusForOperation &other) throw () | |
Copy constructor. | |
virtual | ~WrongResourceLockStatusForOperation () throw () |
Destructor. | |
bool | lockStatusLocked () const throw () |
Returns the lock status when the exception was thrown. | |
const char * | operationName () const throw () |
Returns the name of the operation that couldn't be perfomed. | |
WrongResourceLockStatusForOperation & | operator= (const WrongResourceLockStatusForOperation &other) throw () |
Copy operator. | |
virtual const char * | what () const throw () |
Returns a C string describing the exception. | |
Detailed Description
The exception thrown when an operation is performed on a ConcurrentResourcesUser object but the lock is not in the correct status.
Definition at line 1631 of file configurationexceptions.h.
Constructor & Destructor Documentation
|
inline |
Constructor.
- Parameters
-
operationName the name of the operation that couldn't be performed in the current lock status. The buffer for this is at most 256 characters (including the '\0' terminator) lockStatusLocked true if the lock on resources was held (but it shouldn't), false if the lock wasn't held (but it should have been)
Definition at line 1645 of file configurationexceptions.h.
|
inline |
Copy constructor.
- Parameters
-
other the exception to copy
Definition at line 1660 of file configurationexceptions.h.
|
inlinevirtual |
Destructor.
Definition at line 1694 of file configurationexceptions.h.
Member Function Documentation
|
inline |
Returns the lock status when the exception was thrown.
- Returns
- true if the lock on resources was held (but it shouldn't), false if the lock wasn't held (but it should have been)
Definition at line 1714 of file configurationexceptions.h.
|
inline |
Returns the name of the operation that couldn't be perfomed.
- Returns
- the name of the operation that couldn't be perfomed
Definition at line 1724 of file configurationexceptions.h.
|
inline |
Copy operator.
- Parameters
-
other the exception to copy
Definition at line 1675 of file configurationexceptions.h.
|
inlinevirtual |
Returns a C string describing the exception.
- Returns
- a C string describing the exception
Definition at line 1703 of file configurationexceptions.h.
The documentation for this class was generated from the following file:
- configuration/include/configurationexceptions.h