Syntax

SetException(exception_value)

Description

Use this method to set the exception value of the JSON Node.

Parameters

Name Description
exception_value Specifies the exception value of the JSON Node as an Exception object.

Returns

None.

Example

Local Exception &oException;
&oException = CreateException(0, 0, "An Error Occured");
   
Local PSM_JSON:Node &oNode = create PSM_JSON:Node();
   
&oNode.SetException(&oException);