Cross-Platform C++

ot
class IllegalCharacterException

#include "ot/base/IllegalCharacterException.h"

ot::RuntimeException ot::Exception Thrown when an illegal character value is detected. This can occur when OpenTop is using the UTF-8 or UTF-16 internal encoding and the application creates a multi-character sequence that would generate an invalid Unicode character.

This exception can also be thrown when attempting to construct a Character with an illegal Unicode code-point value.




Constructor/Destructor Summary
IllegalCharacterException()
         Constructs an IllegalCharacterException without a detail message.
IllegalCharacterException(const String& message)
         Constructs an IllegalCharacterException with a detail message.

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

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

Constructor/Destructor Detail

IllegalCharacterException

 IllegalCharacterException()
Constructs an IllegalCharacterException without a detail message.


IllegalCharacterException

 IllegalCharacterException(const String& message)
Constructs an IllegalCharacterException with a detail message.

Parameters:
message - the detail message.

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