NoFreeDaemons class

From m204wiki
Revision as of 21:37, 18 November 2014 by JAL (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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 SOUL 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 a 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