CharacterTranslationException class: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (tags)
mNo edit summary
Line 2: Line 2:
Various methods throw a <var>CharacterTranslationException</var> exception when they encounter character translation problems.  To avert request cancellation, you can <var>[[catch]]</var> such an exception, optionally catching to an object of this class.
Various methods throw a <var>CharacterTranslationException</var> exception when they encounter character translation problems.  To avert request cancellation, you can <var>[[catch]]</var> such an exception, optionally catching to an object of this class.
   
   
The methods in this class are listed at "[[List of CharacterTranslationException methods]]".
This class is available as of <var class="product">[[Sirius Mods]]</var> Version 7.3.
 
This class is available as of <var class="product">[[Sirius Mods|"Sirius Mods"]]</var> Version 7.3.
<h2>The CharacterTranslationException methods</h2>
{{Template:List of CharacterTranslationException methods}}
 
The methods in the class are described in the subsections that follow. In addition:
<ul>
<li>[[Notation conventions for methods|"Notation conventions for methods"]] has information
about the conventions followed.
<li>[[CharacterTranslationException methods syntax|"CharacterTranslationException methods syntax"]] is a single page that contains the syntax diagrams of all the methods in the class.
</ul>
 
 
<h2>BytePosition property</h2>
{{Template:CharacterTranslationException:BytePosition subtitle}}
<h4>Syntax</h4>
{{Template:CharacterTranslationException:BytePosition syntax}}
<h4>Syntax terms</h4>
<table class="syntaxTable">
<tr><th>%number</th>
<td>The position of the byte at which the exception was thrown.
</td></tr>
<tr><th>characterTranslationException</th>
<td>A reference to an instance of a <var>[[CharacterTranslationException_class|CharacterTranslationException]]</var> object.
</td></tr></table>
 
 
<h2>CharacterPosition property</h2>
 
<h2>Description property</h2>
 
<h2>HexValueproperty</h2>
 
<h2>New constructor</h2>
 
<h2>Reason property</h2>
 
[[Category:System exception classes]]
[[Category:System exception classes]]

Revision as of 22:46, 9 May 2011

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.

MethodDescription
BytePositionPosition of byte at which the exception was thrown
CharacterPositionPosition of character at which the exception was thrown
DescriptionBrief description of the exception
HexValueHexadecimal value of bytes causing the exception
NewCreate a new CharacterTranslationException object
ReasonEnumerated cause of the exception

The methods in the class are described in the subsections that follow. In addition:


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.


CharacterPosition property

Description property

HexValueproperty

New constructor

Reason property