|
CoreLinux++
0.4.32
|
InvalidCompositeException is an exception that is usually thrown when a composite operation is attempted on a leaf component. More...
#include <InvalidCompositeException.hpp>
Public Member Functions | |
| InvalidCompositeException (CharCptr file, LineNum line, Severity severity=Exception::CONTINUABLE, bool outOfMemory=false) | |
| Default Constructor. More... | |
| InvalidCompositeException (InvalidCompositeExceptionCref) | |
| Copy constructor. More... | |
| virtual | ~InvalidCompositeException (void) |
| Virtual Destructor. | |
| InvalidCompositeExceptionRef | operator= (InvalidCompositeExceptionCref) |
| Assignment operator overload. More... | |
| bool | operator== (InvalidCompositeExceptionCref) const |
| Equality operator overload. More... | |
Public Member Functions inherited from corelinux::CompositeException | |
| CompositeException (CharCptr file, LineNum line, Severity severity=Exception::CONTINUABLE, bool outOfMemory=false) | |
| Default Constructor. More... | |
| CompositeException (CompositeExceptionCref) | |
| Copy constructor. More... | |
| virtual | ~CompositeException (void) |
| Virtual Destructor. | |
| CompositeExceptionRef | operator= (CompositeExceptionCref) |
| Assignment operator overload. More... | |
| bool | operator== (CompositeExceptionCref) const |
| Equality operator overload. More... | |
Public Member Functions inherited from corelinux::Exception | |
| Exception (CharCptr why, CharCptr file, LineNum line, Severity severity=Exception::CONTINUABLE, bool outOfMemory=false) | |
| Default Constructor. More... | |
| Exception (ExceptionCref crOther) | |
| Copy constructor. More... | |
| virtual | ~Exception (void) |
| Virtual Destructor. | |
| ExceptionRef | operator= (ExceptionCref otherRef) |
| Assignment operator overload. More... | |
| bool | operator== (ExceptionCref otherRef) |
| Comparisson operator overload. More... | |
| const std::string & | getFile (void) const |
| Accessor. More... | |
| LineNumCref | getLine (void) const |
| Accessor. More... | |
| const std::string & | getWhy (void) const |
| Accessor. More... | |
| const Severity & | getSeverity (void) const |
| Accessor. More... | |
| const std::string & | getUnwind (void) const |
| Accessor. More... | |
| bool | isOutOfMemory (void) const |
| Accessor. More... | |
| void | addUnwindInfo (CharCptr unwindInfo) |
| Append unwind information to the Exception. More... | |
| void | setThreadFatalSeverity (void) |
| Change the severity to Severity::THREADFATAL. | |
| void | setProcessFatalSeverity (void) |
| Change the severity to Severity::PROCESSFATAL. | |
| void | setThreadTerminateSeverity (void) |
| Change the severity to Severity::THREADTERMINATE. More... | |
| void | setProcessTerminateSeverity (void) |
| Change the severity to Severity::PROCESSTERMINATE. More... | |
Protected Member Functions | |
| InvalidCompositeException (void) | |
| InvalidCompositeException must have at least a location. More... | |
Protected Member Functions inherited from corelinux::CompositeException | |
| CompositeException (CharCptr why, CharCptr file, LineNum line, Severity severity=Exception::CONTINUABLE, bool outOfMemory=false) | |
| Default Constructor. More... | |
| CompositeException (void) | |
| CompositeException must have at least a location. More... | |
Protected Member Functions inherited from corelinux::Exception | |
| Exception (void) | |
| Exceptions must have a reason. More... | |
| Exception (CharCptr file, LineNum line, Severity severity=Exception::CONTINUABLE, bool outOfMemory=false) | |
| Exception constructor for use by derivations. | |
| void | setWhy (const std::string &) |
| Changes the exception reason. | |
| void | setWhy (CharCptr) |
| Changes the exception reason. | |
Additional Inherited Members | |
Public Types inherited from corelinux::Exception | |
| enum | Severity { CONTINUABLE = 1, THREADFATAL, PROCESSFATAL, THREADTERMINATE, PROCESSTERMINATE } |
| Exception Severity States. More... | |
InvalidCompositeException is an exception that is usually thrown when a composite operation is attempted on a leaf component.
| corelinux::InvalidCompositeException::InvalidCompositeException | ( | 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::InvalidCompositeException::InvalidCompositeException | ( | InvalidCompositeExceptionCref | aRef | ) |
Copy constructor.
| InvalidCompositeException | const reference |
|
protected |
InvalidCompositeException must have at least a location.
Default constructor is not allowed.
| InvalidCompositeExceptionRef corelinux::InvalidCompositeException::operator= | ( | InvalidCompositeExceptionCref | aRef | ) |
Assignment operator overload.
| InvalidCompositeException | const reference |
References corelinux::CompositeException::operator=().
| bool corelinux::InvalidCompositeException::operator== | ( | InvalidCompositeExceptionCref | aRef | ) | const |
Equality operator overload.
| InvalidCompositeException | const reference |