Re: Error handing in embedded applications [message #42959 is a reply to message #42950] |
Tue, 08 March 2005 06:41  |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
David Fanning <david@dfanning.com> writes:
> Folks,
>
> Does anyone understand error handling in embedded applications?
> I've got a bomb-proof program. CATCH error handlers everywhere.
> When an error occurs, I go to my error handling code. If in
> normal IDL, all is well, I return all the way back to the
> event loop level and I carry on, no big deal.
>
> In my embedded application, the same error gets into the
> CATCH, and then goes--apparently--to a different error
> handler where the words "Please consult the supplier of
> this application" is appended to the error message.
If your CATCH handler uses MESSAGE, perhaps that is confusing IDL?
Could you avoid using a MESSAGE command? Perhaps you can reset the
IDL !ERROR status code, or whatever it is these days, to zero?
Just some ideas,
Craig
--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
|
|
|