MaxDaemExceeded class: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 30: | Line 30: | ||
This callable constructor generates an instance of an <var>[[MaxDaemExceeded_class|MaxDaemExceeded]]</var> exception. The <var>New</var> method format is as follows: | This callable constructor generates an instance of an <var>[[MaxDaemExceeded_class|MaxDaemExceeded]]</var> exception. The <var>New</var> method format is as follows: | ||
< | <h3>Syntax</h3> | ||
{{Template:MaxDaemExceeded:New syntax}} | {{Template:MaxDaemExceeded:New syntax}} | ||
<h4>Syntax terms</h4> | <h4>Syntax terms</h4> |
Revision as of 22:35, 17 May 2011
The MaxDaemExceeded exception class indicates that the Daemon class New constructor was invoked, but the calling thread is at its limit of daemon threads.
The maximum number of daemons allowed per master thread is set by the MAXDAEM system parameter, whose default value is 1.
To produce a MaxDaemExceeded exception for yourself, you typically use a User Language Throw statement calling the an MaxDaemExceeded New constructor:
throw %(maxDaemExceeded):new
The only method of the MaxDaemExceeded exception class is the New constructor. The class has no properties.
This class is available as of Sirius Mods Version 7.5.
The MaxDaemExceeded methods
The following are the available MaxDaemExceeded class methods.
Method | Description |
---|---|
New | Create a new MaxDaemExceeded 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.
- "MaxDaemExceeded methods syntax" is a single page that contains the syntax diagrams of all the methods in the class.
New constructor
Create a new MaxDaemExceeded object (MaxDaemExceeded class)
This callable constructor generates an instance of an MaxDaemExceeded exception. The New method format is as follows:
Syntax
%maxDaemExceeded = [%(MaxDaemExceeded):]New
Syntax terms
%maxDaemExceeded | A reference to an instance of a MaxDaemExceeded object. |
---|---|
%(MaxDaemExceeded) | The class name in parentheses denotes a shared method. |