Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Hydra Core Library Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::Exception

Group:  Exception

Local Index

Members

Header File

#include <rwsf/core/except.h>

Description

rwsf::Exception is the base class for all exceptions.

Following is the hierarchy of the exception classes. All exception classes are declared in rwsf/core/except.h.

Figure 1: Exception Hierarchy

Public Constructors

Exception(const char* msg);
Exception(const Exception&);

Destructor

virtual 
~Exception();

Public Member Function

virtual void 
raise ( void ) const; 
virtual Exception* 
clone ( void ) const;
virtual const char* 
why() const;
virtual const char* 
what() const;

Public Operator

Exception& 
operator= (const Exception& m);

Macros


NOTE -- Derived classes must define the following two macros (or the methods they represent) in order to ensure that an exception is thrown correctly from a thread.
#define RWSF_DECLARE_EXCEPTION_METHODS(className)
#define RWSF_DEFINE_EXCEPTION_METHODS(className)


Previous fileTop of DocumentContentsIndex pageNext file

©2004-2007 Copyright Quovadx, Inc. All Rights Reserved.
Quovadx and Rogue Wave are registered trademarks and HydraSDO is a trademark of Quovadx, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.