#include <SemaphoreException.hpp>
Public Member Functions | |
SemaphoreException (CharCptr why, CharCptr file, LineNum line, Severity severity=Exception::CONTINUABLE, bool outOfMemory=false, Int errNum=0) | |
Default Constructor. | |
SemaphoreException (SemaphoreExceptionCref) | |
Copy constructor. | |
virtual | ~SemaphoreException (void) |
Virtual Destructor. | |
SemaphoreExceptionRef | operator= (SemaphoreExceptionCref) |
Assignment operator overload. | |
bool | operator== (SemaphoreExceptionCref) const |
Equality operator overload. | |
IntCref | getErrNum (void) const |
Protected Member Functions | |
SemaphoreException (CharCptr file, LineNum line, Severity severity=Exception::CONTINUABLE, bool outOfMemory=false, Int errNum=0) | |
Default Constructor. | |
SemaphoreException (void) | |
SemaphoreException must have at least a location. |
All Semaphore exceptions derive from this.
corelinux::SemaphoreException::SemaphoreException | ( | CharCptr | why, | |
CharCptr | file, | |||
LineNum | line, | |||
Severity | severity = Exception::CONTINUABLE , |
|||
bool | outOfMemory = false , |
|||
Int | errNum = 0 | |||
) |
Default Constructor.
why | describes why the exception was thrown | |
file | The source module throwing the exception | |
line | The line of source throwing the exception | |
severity | The Exception::Severity of the Exception | |
outOfMemory | An out of memory indicator |
corelinux::SemaphoreException::SemaphoreException | ( | SemaphoreExceptionCref | aRef | ) |
corelinux::SemaphoreException::SemaphoreException | ( | CharCptr | file, | |
LineNum | line, | |||
Severity | severity = Exception::CONTINUABLE , |
|||
bool | outOfMemory = false , |
|||
Int | errNum = 0 | |||
) | [protected] |
Default Constructor.
file | The source module throwing the exception | |
line | The line of source throwing the exception | |
severity | The Exception::Severity of the Exception | |
outOfMemory | An out of memory indicator |
corelinux::SemaphoreException::SemaphoreException | ( | void | ) | [protected] |
SemaphoreException must have at least a location.
Default constructor is not allowed.
SemaphoreExceptionRef corelinux::SemaphoreException::operator= | ( | SemaphoreExceptionCref | aRef | ) |
Assignment operator overload.
SemaphoreException | const reference |
References corelinux::Exception::operator=().
bool corelinux::SemaphoreException::operator== | ( | SemaphoreExceptionCref | aRef | ) | const |
Equality operator overload.
SemaphoreException | const reference |