NoFreeDaemons class: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 22: Line 22:
{{Template:NoFreeDaemons:New subtitle}}
{{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:
This <var>Constructor</var> generates an instance of an <var>[[NoFreeDaemons_class|NoFreeDaemons]]</var> exception. The <var>New</var> method format is as follows:


<h3>Syntax</h3>
<h3>Syntax</h3>
Line 31: Line 31:
<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 shared method.</td></tr>
<tr><th><var>%(NoFreeDaemons)</var></th><td>The class name in parentheses denotes a <var>[[Notation conventions for methods#Constructors|Constructor]]</var>.</td></tr>
</table>
</table>


[[Category:System exception classes]]
[[Category:System exception classes]]

Revision as of 21:10, 27 July 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.

MethodDescription
NewCreate a new NoFreeDaemons object

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


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.