#include <CompositeException.hpp>
Public Member Functions | |
CompositeException (CharCptr file, LineNum line, Severity severity=Exception::CONTINUABLE, bool outOfMemory=false) | |
Default Constructor. | |
CompositeException (CompositeExceptionCref) | |
Copy constructor. | |
virtual | ~CompositeException (void) |
Virtual Destructor. | |
CompositeExceptionRef | operator= (CompositeExceptionCref) |
Assignment operator overload. | |
bool | operator== (CompositeExceptionCref) const |
Equality operator overload. | |
Protected Member Functions | |
CompositeException (CharCptr why, CharCptr file, LineNum line, Severity severity=Exception::CONTINUABLE, bool outOfMemory=false) | |
Default Constructor. | |
CompositeException (void) | |
CompositeException must have at least a location. |
All Composite exceptions derive from this.
corelinux::CompositeException::CompositeException | ( | CharCptr | file, | |
LineNum | line, | |||
Severity | severity = Exception::CONTINUABLE , |
|||
bool | outOfMemory = false | |||
) |
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::CompositeException::CompositeException | ( | CompositeExceptionCref | aRef | ) |
corelinux::CompositeException::CompositeException | ( | CharCptr | why, | |
CharCptr | file, | |||
LineNum | line, | |||
Severity | severity = Exception::CONTINUABLE , |
|||
bool | outOfMemory = false | |||
) | [protected] |
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::CompositeException::CompositeException | ( | void | ) | [protected] |
CompositeException must have at least a location.
Default constructor is not allowed.
CompositeExceptionRef corelinux::CompositeException::operator= | ( | CompositeExceptionCref | aRef | ) |
Assignment operator overload.
CompositeException | const reference |
References corelinux::Exception::operator=().
Referenced by corelinux::InvalidCompositeException::operator=().
bool corelinux::CompositeException::operator== | ( | CompositeExceptionCref | aRef | ) | const |
Equality operator overload.
CompositeException | const reference |