Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%Net] >  [Remote] >  [Exception]
Private  Storage   

class %Net.Remote.Exception extends %Exception.AbstractException

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 3


Summary

Properties
Code Data InnerException Location Name
RawData RemoteError

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
AsSQLCODE AsSQLMessage AsStatus DisplayString
Log OutputToDevice OutputToStream SQLMessageString
StackAsArray


Properties

• property RawData as %String(MAXLEN="");
• property RemoteError as %String(MAXLEN="");

Methods

• method DisplayString(pLevel As %Integer = 0) as %String
This returns a string that represents the exception. Users should feel free to modify the format in subclasses.
• method StackAsArray(ByRef array) as %Status
This method sets an array that is passed by reference to the execution stack at the time of the exception. The top unsubscripted value is the number of execution levels.

array(n) is a string that indicates how the next level was created. It is empty for the current level. The value may be:
DO - issued a DO command
$$ - called an extrinsic function
XECUTE - issued an XECUTE command
BREAK - entered a debug prompt because of a <BREAK>
ERROR - entered a debug prompt because of an error
$ETRAP - executed a $ETRAP
CALLIN - entered via a callin

array(n,"PLACE") is the location of the last command executed at this level. It is a line reference followed by the command number on that line.


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.