corelinux::CommandFrameException Class Reference

CommandFrameException is the base exception type for CommandFrame. More...

#include <CommandFrameException.hpp>

Inheritance diagram for corelinux::CommandFrameException:

corelinux::Exception

List of all members.

Public Member Functions

 CommandFrameException (CharCptr why, CharCptr file, LineNum line, Severity severity=Exception::CONTINUABLE, bool outOfMemory=false)
 Default Constructor.
 CommandFrameException (CharCptr file, LineNum line, Severity severity=Exception::CONTINUABLE, bool outOfMemory=false)
 Default Constructor.
 CommandFrameException (CommandFrameExceptionCref)
 Copy constructor.
virtual ~CommandFrameException (void)
 Virtual Destructor.
CommandFrameExceptionRef operator= (CommandFrameExceptionCref)
 Assignment operator overload.
bool operator== (CommandFrameExceptionCref) const
 Equality operator overload.

Protected Member Functions

 CommandFrameException (void)
 CommandFrameException must have at least a location.


Detailed Description

CommandFrameException is the base exception type for CommandFrame.

All CommandFrame exceptions derive from this.


Constructor & Destructor Documentation

corelinux::CommandFrameException::CommandFrameException ( CharCptr  why,
CharCptr  file,
LineNum  line,
Severity  severity = Exception::CONTINUABLE,
bool  outOfMemory = false 
)

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::CommandFrameException::CommandFrameException ( CharCptr  file,
LineNum  line,
Severity  severity = Exception::CONTINUABLE,
bool  outOfMemory = false 
)

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::CommandFrameException::CommandFrameException ( CommandFrameExceptionCref  aRef  ) 

Copy constructor.

Parameters:
CommandFrameException const reference

corelinux::CommandFrameException::CommandFrameException ( void   )  [protected]

CommandFrameException must have at least a location.

Default constructor is not allowed.


Member Function Documentation

CommandFrameExceptionRef corelinux::CommandFrameException::operator= ( CommandFrameExceptionCref  aRef  ) 

Assignment operator overload.

Parameters:
CommandFrameException const reference
Returns:
CommandFrameException reference to self

References corelinux::Exception::operator=().

bool corelinux::CommandFrameException::operator== ( CommandFrameExceptionCref  aRef  )  const

Equality operator overload.

Parameters:
CommandFrameException const reference
Returns:
true if equal, false otherwise


The documentation for this class was generated from the following files:

This is the CoreLinux++ reference manual
Provided by The CoreLinux Consortium