IRISLIB database
Exception Class Reference
Inheritance diagram for Exception:
Collaboration diagram for Exception:

Public Member Functions

_.Library.String DisplayString (_.Library.Integer pLevel)
 This returns a string that represents the exception. More...
 
_.Library.Status StackAsArray (array)
 This method sets an array that is passed by reference to the execution stack at the time of the exception. More...
 
- Public Member Functions inherited from AbstractException
_.Library.Integer AsSQLCODE ()
 Return the SQLCODE value corresponding to the exception.
 
_.Library.String AsSQLMessage ()
 Return the SQL msg string describing details of the exception.
 
_.Library.Status AsStatus ()
 Convert this exception to a Status compatible value.
 
_.Library.Status Log ()
 Call the log function (LOG^ETN) to log this exception. More...
 
 OutputToDevice (_.Library.Integer pLevel)
 This outputs the string representation of the exception to the current device, recursively. More...
 
 OutputToStream (_.Library.CharacterStream pStream, _.Library.Integer pLevel)
 This outputs the string representation of the exception to the supplied stream, recursively. More...
 
 SQLMessageString (_.Library.Integer pLevel)
 This returns a string that represents the SQL msg string. More...
 

Public Attributes

 RawData
   More...
 
 RemoteError
   More...
 
- Public Attributes inherited from CPPException
 Code
 Code is the error code. More...
 
 Data
 Data is extra information supplied for certain errors. More...
 
 InnerException
 This holds an Inner exception. More...
 
 Location
 Location is the location at which the error occurred. More...
 
 Name
 Name is the name of the error. More...
 

Private Member Functions

_.Library.Status __OnAsStatus ()
 Override this method to provide a custom conversion of an exception to a status.
 

Member Function Documentation

◆ DisplayString()

_.Library.String DisplayString ( _.Library.Integer  pLevel)

This returns a string that represents the exception.

Users should feel free

to modify the format in subclasses.

Reimplemented from AbstractException.

◆ StackAsArray()

_.Library.Status StackAsArray (   array)

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<br>
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.

Reimplemented from AbstractException.

Member Data Documentation

◆ RawData

RawData

 

 

◆ RemoteError

RemoteError