ScreenReadError class

From m204wiki
Jump to navigation Jump to search

The ScreenReadError exception class describes an exception associated with

To produce a ScreenReadError exception for yourself, you typically use a SOUL Throw statement with the New ScreenReadError constructor. For example, the following statement throws a ScreenReadError exception:

throw %(screenReadError):new

The ScreenReadError class is available as of Sirius Mods version 8.1.

The ScreenReadError methods

The following are the available ScreenReadError class methods.

MethodDescription
NewCreate a new ScreenReadError object

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

New constructor

Create a new ScreenReadError object (ScreenReadError class)

[Introduced in Sirius Mods 8.1]

This Constructor generates an instance of an ScreenReadError exception.

Syntax

%screenReadError = [%(ScreenReadError):]New

Syntax terms

%screenReadError An ScreenReadError object variable.
[%(ScreenReadError):] The class name in parentheses denotes a Constructor. See Usage notes, below, for more information about invoking an ScreenReadError 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:

    %screenReadErr = new %screenReadErr = %(ScreenReadError):new %screenReadErr = %screenReadErr:new