Scippy

UG

Ubiquity Generator framework

LockException Struct Reference

Exception that is thrown whenever something goes wrong with a lock. More...

#include <paraPthLock.h>

+ Inheritance diagram for LockException:

Public Member Functions

 LockException (int c=0)
 constructor More...
 
int getCode ()
 get error code More...
 

Public Attributes

int code
 error code More...
 

Detailed Description

Exception that is thrown whenever something goes wrong with a lock.

Definition at line 52 of file paraPthLock.h.

Constructor & Destructor Documentation

◆ LockException()

LockException ( int  c = 0)

constructor

Parameters
cno error is assumed

Definition at line 59 of file paraPthLock.h.

Referenced by Lock::Lock(), Lock::lock(), LockRAII::LockRAII(), and Lock::unlock().

Member Function Documentation

◆ getCode()

int getCode ( )

get error code

Returns
error code

Definition at line 70 of file paraPthLock.h.

References LockException::code.

Member Data Documentation

◆ code

int code

error code

Definition at line 54 of file paraPthLock.h.

Referenced by LockException::getCode().