octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

user defined error handling


From: Matt Flax
Subject: user defined error handling
Date: Thu, 05 Jul 2012 18:50:32 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

Hi there,

I have been interested in using my own error handlers with octave.

For this purpose, I have changed 'initialize_error_handlers' with my own.
  set_liboctave_error_handler (my_error_handler);
  set_liboctave_warning_handler (my_warning);
  set_liboctave_warning_with_id_handler (my_warning_with_id);

Unfortunately I have found that octave actually do nothing to execute my error handlers when errors occur ... it appears that regular error handlers like 'error' 'verror' 'error_2' and 'error_1' are executed as per usual.


Is there perhaps some way to 'initialize_error_handlers' more appropriately ?

thanks
Matt


reply via email to

[Prev in Thread] Current Thread [Next in Thread]