NoFreeDaemons class: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<!-- NoFreeDaemons class --> | <!-- NoFreeDaemons class --> | ||
__NOTOC__ | |||
The <var>NoFreeDaemons</var> exception class indicates that the <var>[[Daemon_class|Daemon]]</var> class <var>[[New_(Daemon_constructor)|New]]</var> constructor was invoked, but there were no daemon threads available to service the object. | The <var>NoFreeDaemons</var> exception class indicates that the <var>[[Daemon_class|Daemon]]</var> class <var>[[New_(Daemon_constructor)|New]]</var> constructor was invoked, but there were no daemon threads available to service the object. | ||
To produce a <var>NoFreeDaemons</var> exception for yourself, you typically use a <var class="product">User Language</var> [[Throw]] statement with a <var>NoFreeDaemons</var> <var>[[New_(NoFreeDaemons_constructor)|New]]</var> constructor. For example, the following statement throws a <var>NoFreeDaemons</var> exception: | To produce a <var>NoFreeDaemons</var> exception for yourself, you typically use a <var class="product">User Language</var> [[Throw]] statement with a <var>NoFreeDaemons</var> <var>[[New_(NoFreeDaemons_constructor)|New]]</var> constructor. For example, the following statement throws a <var>NoFreeDaemons</var> exception: | ||
<p class="code"> | <p class="code"> throw %(noFreeDaemons):new | ||
</p> | </p> | ||
<h2>The NoFreeDaemons methods</h2> | <h2>The NoFreeDaemons methods</h2> | ||
{{Template:List of NoFreeDaemons methods}} | {{Template:List of NoFreeDaemons methods}} | ||
Line 18: | Line 20: | ||
<h2>New constructor</h2> | <h2>New constructor</h2> | ||
{{Template:NoFreeDaemons:New subtitle}} | |||
This constructor generates an instance of an <var>[[NoFreeDaemons_class|NoFreeDaemons]]</var> exception. The <var>New</var> method format is as follows: | |||
<h4>Syntax</h4> | |||
{{Template:NoFreeDaemons:New syntax}} | |||
<h4>Syntax terms</h4> | |||
<table class="syntaxTable"> | |||
<tr><th>%noFreeDaemons </th> | |||
<td>A reference to an instance of a <var>NoFreeDaemons</var> object. | |||
</td></tr> | |||
<tr><th><var>%(NoFreeDaemons)</var></th><td>The class name in parentheses denotes a shared method.</td></tr> | |||
</table> | |||
[[Category:System exception classes]] | [[Category:System exception classes]] |
Revision as of 18:59, 10 May 2011
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 shared method. |