For information on converting to InterSystems IRIS, see the
InterSystems IRIS Adoption Guide
and the InterSystems IRIS In-Place Conversion Guide,
both available on the WRC Distributions page (login required).
The %Exception.AbstractException defines the interface to exceptions
that may be caught and thrown via the Try/Catch exception handling facilities. Users wishing
to define new exception classes should inherit from this interface class. Only instances of classes
that inherit from %Exception.AbstractException may be thrown with the 'throw' command.
This returns a string that represents the SQL %msg string. Users should feel free
to modify the format and content in subclasses.
DEPRECATED - use AsSQLMessage() instead. Override OnAsSQLMessage() to customize the value returned
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.