WebScreenException class

From m204wiki
Jump to navigation Jump to search

A WebScreenException exception can be thrown by the Read Screen statement when performed on a web thread using Janus Web Legacy Support or Janus Web Legacy XML Support. It indicates that the client sent an unexpected response. The read-only properties of a WebScreenException object provide information about the failed operation.

This class is new in Model 204 7.6.

The WebScreenException methods

The following are the available WebScreenException class methods.

DescriptionBrief description of the exception
NewCreate a new WebScreenException object

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

Description property

Brief description of the exception (WebScreenException class)

[Introduced in Model 204 7.6]


%string = webScreenException:Description

Syntax terms

%string A string to receive the description of the exception.
webScreenException A WebScreenException object.

New constructor

Create a new WebScreenException object (WebScreenException class)

[Introduced in Model 204 7.6]

Each argument to New sets the value of the corresponding property of the newly constructed WebScreenException object.


%webScreenException = [%(WebScreenException):]New( Description= string)

Syntax terms

%webScreenException An WebScreenException object.
[%(WebScreenException):] The class name in parentheses denotes a Constructor.
Description This name required parameter specifies the string value to be assigned to the object's Description property. Description is a required parameter.