MaxDaemExceeded class: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (edits, tags and links) |
||
Line 1: | Line 1: | ||
<!-- MaxDaemExceeded class --> | <!-- MaxDaemExceeded class --> | ||
The MaxDaemExceeded exception class indicates that the Daemon class constructor | The <var>MaxDaemExceeded</var> exception class indicates that the <var>[[Daemon_class|Daemon class]]</var> <var>[[New_(Daemon_constructor)|New]]</var> constructor was invoked, but the calling thread is at its limit of daemon threads. | ||
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 | The maximum number of daemons allowed per master thread is set by the <var>[[MAXDAEM_parameter|MAXDAEM]]</var> system parameter, whose default value is 1. | ||
system parameter, whose default value is 1. | |||
To produce a MaxDaemExceeded exception, you typically use a User Language Throw | To produce a <var>MaxDaemExceeded</var> exception for yourself, you typically use a <var class="product">User Language</var> [[Throw]] statement calling the an <var>MaxDaemExceeded</var> <var>[[New_(MaxDaemExceeded_constructor)|New]]</var> constructor: | ||
statement | <p class="code"> [[throw]] %(maxDaemExceeded):new | ||
an MaxDaemExceeded New constructor: | |||
<p class="code"> throw %(maxDaemExceeded):new | |||
</p> | </p> | ||
The only method of the MaxDaemExceeded exception class is the New constructor. | The only method of the <var>MaxDaemExceeded</var>exception class is the <var>New</var> constructor. The class has no properties. | ||
The class has no properties. | |||
The methods in this class are listed at "[[List of MaxDaemExceeded methods]]". | The methods in this class are listed at "[[List of MaxDaemExceeded methods]]". | ||
This class is available as of <var class="product">[[Sirius Mods|"Sirius Mods"]]</var> Version 7.5. | |||
[[Category:System exception classes]] | [[Category:System exception classes]] | ||
Revision as of 07:02, 22 April 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 MaxDaemExceededexception class is the New constructor. The class has no properties.
The methods in this class are listed at "List of MaxDaemExceeded methods".
This class is available as of "Sirius Mods" Version 7.5.