corelinux_SemaphoreException3
Semaphoreexception is the base exception type for semaphore.
Usage
Inherits corelinux::Exception.
Public Member Functions
Default Constructor.
SemaphoreException
(SemaphoreExceptionCref)
Virtual Destructor.
SemaphoreExceptionRef
operator=
(SemaphoreExceptionCref)
Protected Member Functions
Default Constructor.
SemaphoreException
(void)
SemaphoreException must
have
at
least
a
location..
Detailed Description
SemaphoreException is the base exception type for Semaphore.
All Semaphore exceptions derive from this.
Constructor & Destructor Documentation
corelinux::SemaphoreException::SemaphoreException (CharCptr why, CharCptr file, LineNum line, Severity severity = Exception::CONTINUABLE, bool outOfMemory = false, Int errNum = 0)
Default Constructor. Parameters:
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)
Copy constructor. Parameters:
SemaphoreException const reference
corelinux::SemaphoreException::SemaphoreException (CharCptr file, LineNum line, Severity severity = Exception::CONTINUABLE, bool outOfMemory = false, Int errNum = 0) [protected]
Default Constructor. Parameters:
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.
Member Function Documentation
SemaphoreExceptionRef corelinux::SemaphoreException::operator= (SemaphoreExceptionCref)
Assignment operator overload. Parameters:
SemaphoreException const reference
Returns:
SemaphoreException reference to self
bool corelinux::SemaphoreException::operator== (SemaphoreExceptionCref) const
Equality operator overload. Parameters:
SemaphoreException const reference
Returns:
true if equal, false otherwise
History
- Debian 3.1 (Sarge): the text shown here
- Debian 3.0 (Woody)