I need to know the proper way to code #pragma exception_handler for multiple errors over the same piece of code.

#pragma exception_handler(RetryIns, ca, _C1_ALL, _C2_ALL, _CTLA_HANDLE)
#pragma exception_handler(MCH2401err, 0, _C1_ALL, _C2_ALL, _CTLA_HANDLE, "MCH2401")

I need to monitor for a MCH2401 error and goto MCH2401err label error handler code. I need to branch to another label location if any other error occurs.

Can I use nested exception_handlers? If so which comes first or should I set up a generic handler and check the message ID in the generic handler?

I really do not want to handle the error in a separate function.


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].