× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi,
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.

Spencer

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.