NoFreeDaemons class: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 19: | Line 19: | ||
==New constructor== | |||
{{Template:NoFreeDaemons:New subtitle}} | {{Template:NoFreeDaemons:New subtitle}} | ||
Line 28: | Line 28: | ||
<h4>Syntax terms</h4> | <h4>Syntax terms</h4> | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>%noFreeDaemons </th> | <tr><th>%noFreeDaemons </th> | ||
<td>A reference to an instance of a <var>NoFreeDaemons</var> object. | <td>A reference to an instance of a <var>NoFreeDaemons</var> object. | ||
</td></tr> | </td></tr> | ||
<tr><th><var>%(NoFreeDaemons)</var></th><td>The class name in parentheses denotes a <var>[[Notation conventions for methods#Constructors|Constructor]]</var>. See [[#Usage notes|"Usage notes"]], below, for more information about invoking a <var>NoFreeDaemons</var> <var>Constructor</var>.</td></tr> | |||
<tr><th><var>[%(NoFreeDaemons):]</var></th><td>The class name in parentheses denotes a <var>[[Notation conventions for methods#Constructors|Constructor]]</var>. See [[#Usage notes|"Usage notes"]], below, for more information about invoking a <var>NoFreeDaemons</var> <var>Constructor</var>.</td></tr> | |||
</table> | </table> | ||
Revision as of 18:07, 7 August 2012
The NoFreeDaemons exception class indicates that the Daemon class New constructor was invoked, but there were no daemon threads available to service the object.
To produce a NoFreeDaemons exception for yourself, you typically use a User Language Throw statement with a NoFreeDaemons New constructor. For example, the following statement throws a NoFreeDaemons exception:
throw %(noFreeDaemons):new
The NoFreeDaemons methods
The following are the available NoFreeDaemons class methods.
Method | Description |
---|---|
New | Create a new NoFreeDaemons 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.
- "NoFreeDaemons methods syntax" is a single page that contains the syntax diagrams of all the methods in the class.
New constructor
Create a new NoFreeDaemons object (NoFreeDaemons class)
This Constructor generates an instance of an NoFreeDaemons exception. The New method format is as follows:
Syntax
%noFreeDaemons = [%(NoFreeDaemons):]New
Syntax terms
%noFreeDaemons | A reference to an instance of a NoFreeDaemons object. |
---|---|
[%(NoFreeDaemons):] | The class name in parentheses denotes a Constructor. See "Usage notes", below, for more information about invoking a NoFreeDaemons 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:
%nfdaem = new %nfdaem = %(NoFreeDaemons):new %nfdaem = %nfdaem:new