JsonCircularReference class: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<!-- JsonCircularReference class -->
<!-- JsonCircularReference class -->
__NOTOC__
__NOTOC__
The <var>JsonCircularReference</var> exception class indicates that the <var>[[Daemon_class|JsonCircularReference]]</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>JsonCircularReference</var> exception for yourself, you typically use a <var class="product">SOUL</var> <var>[[Exceptions#Throwing exceptions|Throw]]</var> statement with a <var>JsonCircularReference</var> <var>[[New_(JsonCircularReference_constructor)|New]]</var> constructor.  For example, the following statement throws a <var>JsonCircularReference</var> exception:
To produce a <var>JsonCircularReference</var> exception for yourself, you typically use a <var class="product">SOUL</var> <var>[[Exceptions#Throwing exceptions|Throw]]</var> statement with a <var>JsonCircularReference</var> <var>[[New_(JsonCircularReference_constructor)|New]]</var> constructor.  For example, the following statement throws a <var>JsonCircularReference</var> exception:
Line 39: Line 38:
<ul>
<ul>
<li>As described in [[Object variables#Using New or other Constructors|Using New or other Constructors]], <var>New</var> can be invoked with no object, with an explicit class name, or with an object variable in the class, even if that object is <var>Null</var>:
<li>As described in [[Object variables#Using New or other Constructors|Using New or other Constructors]], <var>New</var> can be invoked with no object, with an explicit class name, or with an object variable in the class, even if that object is <var>Null</var>:
<p class="code">%nfdaem = new
<p class="code">%jcircref = new


%nfdaem = %(JsonCircularReference):new
%jcircref = %(JsonCircularReference):new


%nfdaem = %nfdaem:new
%jcircref = %jcircref:new
</p>
</p>
</ul>
</ul>


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

Revision as of 22:27, 27 April 2015


To produce a JsonCircularReference exception for yourself, you typically use a SOUL Throw statement with a JsonCircularReference New constructor. For example, the following statement throws a JsonCircularReference exception:

throw %(JsonCircularReference):new


The JsonCircularReference methods

The following are the available JsonCircularReference class methods.

MethodDescription
NewCreate a new JsonCircularReference object

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


New constructor

Create a new JsonCircularReference object (JsonCircularReference class)

This Constructor generates an instance of a JsonCircularReference exception. The New method format is as follows:

Syntax

%jsonCircularReference = [%(JsonCircularReference):]New

Syntax terms

%JsonCircularReference A reference to an instance of a JsonCircularReference object.
[%(JsonCircularReference):]The class name in parentheses denotes a Constructor. See Usage notes, below, for more information about invoking a JsonCircularReference 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:

    %jcircref = new %jcircref = %(JsonCircularReference):new %jcircref = %jcircref:new