452
Appendix A: System Routines — Error Handling
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
ER_throwFrame
Declaration:
void
ER_throwFrame
(int
errStringNum
, pFrame
appFrame
)
Category(ies):
Error Handling
Description:
This routine throws an exception to be caught in the
ONERR
or
FINALLY
section of an enclosing
TRY
block.
See chapter
10. Error Handling
for a complete discussion of throwing and
catching exceptions.
Inputs:
errStringNum
— Application error number signifying cause of exception.
This should be an integer
n
in the range
OO_FIRST_APP_STRING to
OO_FIRST_APP_STRING+0x6FF.
The system error handler displays the text of string
OO_FIRST_STRING+
n
from your app’s frame.
appFrame
— Pointer to application’s frame. This parameter should
be the variable containing the pointer to the frame
described in section
7.3.1.2 Pointer to FRAME
.
Outputs:
None. This routine never returns — execution resumes at the
ONERR
or
FINALLY
section of the enclosing
TRY
block.
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.00 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: ER_throw, ER_throwVar, FINALLY, ONERR, TRY
(continued)