InvalidTranslateTable class: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:
The <var>InvalidTranslateTable</var> exception class indicates that a system translate table (as loaded by [[JANUS LOADXT]]) was requested but not found.
The <var>InvalidTranslateTable</var> exception class indicates that a system translate table (as loaded by [[JANUS LOADXT]]) was requested but not found.
   
   
To produce a <var>InvalidTranslateTable</var> exception for yourself, you typically use a <var class="product">User Language</var> <var>[[Exceptions#Throwing exceptions|Throw]]</var> statement with a <var>InvalidTranslateTable</var> <var>[[New_(InvalidTranslateTable_constructor)|New]]</var> constructor.  For example, the following statement throws a <var>InvalidTranslateTable</var> exception:
To produce a <var>InvalidTranslateTable</var> exception for yourself, you typically use a <var class="product">User Language</var> <var>[[Exceptions#Throwing exceptions|Throw]]</var> statement with an <var>InvalidTranslateTable</var> <var>[[New_(InvalidTranslateTable_constructor)|New]]</var> constructor.  For example, the following statement throws an <var>InvalidTranslateTable</var> exception:
<p class="code">throw %(invalidTranslateTable):new
<p class="code">throw %(invalidTranslateTable):new
</p>
</p>

Revision as of 23:24, 21 March 2013


The InvalidTranslateTable exception class indicates that a system translate table (as loaded by JANUS LOADXT) was requested but not found.

To produce a InvalidTranslateTable exception for yourself, you typically use a User Language Throw statement with an InvalidTranslateTable New constructor. For example, the following statement throws an InvalidTranslateTable exception:

throw %(invalidTranslateTable):new


The InvalidTranslateTable methods

The following are the available InvalidTranslateTable class methods.

MethodDescription
NewCreate a new InvalidTranslateTable object

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


New constructor

Create a new InvalidTranslateTable object (InvalidTranslateTable class)

[Introduced in Model 204 7.5]

This Constructor generates an instance of an InvalidTranslateTable exception. The New method format is as follows:

Syntax

%invalidTranslateTable = [%(InvalidTranslateTable):]New

Syntax terms

%invalidTranslateTable A reference to an instance of a InvalidTranslateTable object.
[%(InvalidTranslateTable):]The class name in parentheses denotes a Constructor. See "Usage notes", below, for more information about invoking a InvalidTranslateTable Constructor.

Usage notes

  • As described in "Using New or other Constructors", New can be invoked with no object, with an explicit class name, or with an object variable in the class, even if that object is Null:

    %invalidxt = new %invalidxt = %(InvalidTranslateTable):new %invalidxt = %invalidxt:new