Rogue Wave banner
Previous fileTop of documentContentsIndexNext file

RWxmsg

Data Type and Member Function Indexes
(exclusive of constructors and destructors)

Synopsis

#include "rw/rwerr.h"
RWxmsg x("exception message");

Description

This class is the base class for the Tools.h++ hierarchy of exceptions. Although we document the entire class here, your code usually should not create or directly throw RWxmsg objects. Instead, you should expect to write code that may catch an RWxmsg or one of its derived classes. Tools.h++ classes that need to report exceptional circumstances will call RWTHROW(RWxmsg&). RWTHROW will throw the RWxmsg if exceptions are enabled. Otherwise, RWTHROW will call the current Tools.h++ error handler function (see Section 17.4.1 of the User's Guide).

Persistence

None

Public Constructors

RWxmsg(const char*msg);
RWxmsg(const RWMessage& rwmsg);
RWxmsg(const RWxmsg&);

Protected Constructor

RWxmsg(const char* msg, RWBoolean doCopy);

Public Member Functions

const char*
why() const;
void
raise();


Previous fileTop of documentContentsIndexNext file
©Copyright 1999, Rogue Wave Software, Inc.
Send mail to report errors or comment on the documentation.