Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Internationalization Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWUException

Module:  Internationalization Module   Group:  Exception Handling


RWUException RWxmsg

Local Index

Members

Header File

#include <rw/i18n/RWUException.h> 

Description

RWUException is thrown by many methods in the Internationalization Module. This class is a subclass of RWxmsg in the Essential Tools Module.

An RWUException instance contains a string message and an RWUStatusCode.

As with RWxmsg, the string message contains a textual description of the error, typically in English. The inherited why() method returns the message string contained in self. The RWUStatusCode of an RWUException identifies the type of the error. Member function getStatus() returns the RWUStatusCode.

Example

Public Constructors

RWUException(RWUStatusCode code);
RWUException(const char* message,
             RWUStatusCode code = RWUNoError);

Public Member Functions

RWUStatusCode
getStatus() const;


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, 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.