|
OpenTop 1.5 | |||||||
| PREV EXCEPTION NEXT EXCEPTION | FRAMES NO FRAMES | Cross-Platform C++ | ||||||
| SUMMARY: CONSTRUCTOR | METHOD | DETAIL: CONSTRUCTOR | METHOD | |||||||
#include "ot/base/IllegalCharacterException.h"

This exception can be thrown when OpenTop is using UTF-8 or UTF-16 as the native OpenTop encoding and the application creates a CharType sequence that would decode into an illegal Unicode character.
This exception can also be thrown when an application attempts to construct a Character object with an illegal Unicode code-point value. This situation is most likely when OpenTop has been configured to use ISO-8859-1 (Latin1) chacacters, where the maximum permitted code-point value is U+00FE.
| Constructor/Destructor Summary | |
IllegalCharacterException()Constructs an IllegalCharacterException without a detail message. | |
IllegalCharacterException(const String& message)Constructs an IllegalCharacterException with a detail message. | |
IllegalCharacterException(UCS4Char ch)Constructs an IllegalCharacterException with the code point for the illegal character. | |
| Method Summary | |
virtual String |
getExceptionType() constReturns the class name as a String. |
virtual String |
getLocalizedDescription() constReturns a localized description of the Exception type or, if a native language translation is unavailable, an empty string. |
| Methods inherited from class ot::Exception |
getDescription(), getMessage(), setMessage(const String&), toString() |
| Constructor/Destructor Detail |
IllegalCharacterException()
IllegalCharacterException(const String& message)
message - IllegalCharacterException(UCS4Char ch)
| Method Detail |
virtual String getExceptionType() const
virtual String getLocalizedDescription() const
|
OpenTop 1.5 | |||||||
| PREV EXCEPTION NEXT EXCEPTION | FRAMES NO FRAMES | Cross-Platform C++ | ||||||
| SUMMARY: CONSTRUCTOR | METHOD | DETAIL: CONSTRUCTOR | METHOD | |||||||