CharacterTranslationException class
Various methods throw a CharacterTranslationException exception when they encounter character translation problems. To avert request cancellation, you can catch such an exception, optionally catching to an object of this class.
This class is available as of Sirius Mods Version 7.3.
The CharacterTranslationException methods
The following are the available CharacterTranslationException class methods.
Method | Description |
---|---|
BytePosition | Position of byte at which the exception was thrown |
CharacterPosition | Position of character at which the exception was thrown |
Description | Brief description of the exception |
HexValue | Hexadecimal value of bytes causing the exception |
New | Create a new CharacterTranslationException object |
Reason | Enumerated cause of the exception |
The methods in the class are described in the subsections that follow. In addition:
- "Notation conventions for methods" has information about the conventions followed.
- "CharacterTranslationException methods syntax" is a single page that contains the syntax diagrams of all the methods in the class.
BytePosition property
Position of byte at which the exception was thrown (CharacterTranslationException class)
Syntax
%number = characterTranslationException:BytePosition
Syntax terms
%number | The position of the byte at which the exception was thrown. |
---|---|
characterTranslationException | A reference to an instance of a CharacterTranslationException object. |