Reference

corelinux_SemaphoreException(3)

SemaphoreException is the base exception type for Semaphore.

NAME

corelinux::SemaphoreException - SemaphoreException is the base exception type for Semaphore.

SYNOPSIS

#include <SemaphoreException.hpp>

Inherits corelinux::Exception.

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..

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

Author

Generated automatically by Doxygen for CoreLinux++ from the source code.

History