rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWConversionErr Class Reference
[Miscellaneous]

Exception class that reports character encoding conversion errors. More...

#include <rw/rwerr.h>

Inheritance diagram for RWConversionErr:
RWExternalErr RWxmsg

List of all members.

Public Member Functions

size_t begin () const
size_t end () const

Detailed Description

An RWConversionErr instance is used to report character encoding conversion errors produced by classes such as RWBasicUString. The begin() and end() methods may be used to extract and report the offending code unit sequence within the conversion source. The value returned by the end() method may be used as an offset for restarting the conversion at the first code unit following the bad sequence.


Member Function Documentation

size_t RWConversionErr::begin (  )  const

Returns the index of the first code unit in the invalid, irregular, or truncated encoding sequence.

size_t RWConversionErr::end (  )  const

Returns the index of the last code unit in the invalid, irregular, or truncated encoding sequence.

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© 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.