★ wanayoo — archive 1999 http://corelinux.sourceforge.net/classref/CompositeException.htmlNouvelle recherche | Portail wanayoo

class corelinux::CompositeException: public Exception

CompositeException is the base exception type for Composite.

Inheritance:


Public Methods

[more] CompositeException( CharCptr file, LineNum line, Severity severity = Exception::CONTINUABLE, bool outOfMemory = false )
Default Constructor
[more] CompositeException( CompositeExceptionCref )
Copy constructor
[more]CompositeExceptionRef operator=( CompositeExceptionCref )
Assignment operator overload
[more]bool operator==( CompositeExceptionCref ) const
Equality operator overload
[more]virtual ~CompositeException( void )
Virtual Destructor

Protected Methods

[more] CompositeException( void )
CompositeException must have at least a location.
[more] CompositeException( CharCptr why, CharCptr file, LineNum line, Severity severity = Exception::CONTINUABLE, bool outOfMemory = false )
Default Constructor


Inherited from Exception:

Public Classes

oenum Severity

Public Methods

ovoid addUnwindInfo( CharCptr unwindInfo )
oconst string& getFile( void ) const
oLineNumCref getLine( void ) const
oconst Severity& getSeverity( void ) const
oconst string& getUnwind( void ) const
oconst string& getWhy( void ) const
obool isOutOfMemory( void ) const
oExceptionRef operator = ( ExceptionCref otherRef )
ovoid setProcessFatalSeverity( void )
ovoid setProcessTerminateSeverity( void )
ovoid setThreadFatalSeverity( void )
ovoid setThreadTerminateSeverity( void )

Protected Methods

ovoid setWhy( CharCptr )
ovoid setWhy( const string & )


Documentation

CompositeException is the base exception type for Composite. All Composite exceptions derive from this.
o CompositeException( 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

o CompositeException( CompositeExceptionCref )
Copy constructor
Parameters:
CompositeException - const reference

ovirtual ~CompositeException( void )
Virtual Destructor

oCompositeExceptionRef operator=( CompositeExceptionCref )
Assignment operator overload
Returns:
CompositeException reference to self
Parameters:
CompositeException - const reference

obool operator==( CompositeExceptionCref ) const
Equality operator overload
Returns:
true if equal, false otherwise
Parameters:
CompositeException - const reference

o CompositeException( 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

o CompositeException( void )
CompositeException must have at least a location. Default constructor is not allowed.


Direct child classes:
InvalidCompositeException



This page was generated with the help of DOC++.