NotJanusConnection class: Difference between revisions
m (Created page with "__NOTOC__ The <var>NotJanusConnection</var> exception class indicates To produce a <var>NotJanusConnection</var> exception for yourself, you typically use a <var class="produc...") |
mNo edit summary |
||
Line 2: | Line 2: | ||
The <var>NotJanusConnection</var> exception class indicates | The <var>NotJanusConnection</var> exception class indicates | ||
To produce a <var>NotJanusConnection</var> exception for yourself, you typically use a <var class="product">User Language</var> [[Throw]] statement calling the an <var>NotJanusConnection</var> <var>[[New_(NotJanusConnection_constructor)|New]]</var> constructor: | To produce a <var>NotJanusConnection</var> exception for yourself, you typically use a <var class="product">User Language</var> [[Exceptions#Throwing exceptions|Throw]] statement calling the an <var>NotJanusConnection</var> <var>[[New_(NotJanusConnection_constructor)|New]]</var> constructor: | ||
<p class="code"> throw %(NotJanusConnection):new | <p class="code"> throw %(NotJanusConnection):new | ||
</p> | </p> |
Revision as of 22:47, 4 November 2011
The NotJanusConnection exception class indicates
To produce a NotJanusConnection exception for yourself, you typically use a User Language Throw statement calling the an NotJanusConnection New constructor:
throw %(NotJanusConnection):new
The only method of the NotJanusConnection exception class is the New constructor. The class has no properties.
This class is available as of Sirius Mods Version 8.0.
The NotJanusConnection methods
The following are the available NotJanusConnection class methods.
Method | Description |
---|---|
New | Create a new NotJanusConnection object |
The methods in the class are described in the subsections that follow. In addition:
- "Notation conventions for methods" has information about the conventions followed.
- "NotJanusConnection methods syntax" is a single page that contains the syntax diagrams of all the methods in the class.
New constructor
Create a new NotJanusConnection object (NotJanusConnection class)
[Introduced in Sirius Mods 8.0]
This callable constructor generates an instance of an NotJanusConnection exception. The New method format is as follows:
Syntax
%notJanusConnection = [%(NotJanusConnection):]New
Syntax terms
%notJanusConnection | A reference to an instance of a NotJanusConnection object. |
---|---|
%(NotJanusConnection) | The class name in parentheses denotes a Constructor. See "Usage notes", below, for more information about invoking a NotJanusConnection 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:
%notjanus = new %notjanus = %(NotJanusConnection):new %notjanus = %notjanus:new