Cross-Platform C++

ot::io
class UnmappableCharacterException

#include "ot/io/UnmappableCharacterException.h"

ot::io::CharacterCodingException ot::io::IOException ot::Exception Thrown when an OutputStreamWriter, that has been configured to abort when it encounters unmappable characters, writes a Unicode character that cannot be mapped into the target encoding.

See also:
CodeConverter



Constructor/Destructor Summary
UnmappableCharacterException(const String& message, CodeConverter* pDecoder)
         Constructs an UnmappableCharacterException with a detail message and a decoder.

Method Summary
 virtual String getExceptionType() const
         Returns the class name as a String.

Methods inherited from class ot::io::CharacterCodingException
getCodeConverter

Methods inherited from class ot::Exception
getDescription, getLocalizedDescription, getMessage, setMessage, toString

Constructor/Destructor Detail

UnmappableCharacterException

 UnmappableCharacterException(const String& message,
                              CodeConverter* pDecoder)
Constructs an UnmappableCharacterException with a detail message and a decoder.

Parameters:
message - the detail message
pDecoder - the CodeConverter giving rise to the exception

Method Detail

getExceptionType

virtual String getExceptionType() const
Returns the class name as a String. This method should be overridden in all derived classes to return the name of the derived class.

See also:
getDescription()


Cross-Platform C++

Found a bug or missing feature? Please email us at support@elcel.com

Copyright © 2000-2003 ElCel Technology   Trademark Acknowledgements