changeset 21024:f7e64e1baa08

NEWS: Add note about updating user-supplied liboctave error handlers. * NEWS: Add note about updating user-supplied liboctave error handlers.
author Rik <rik@octave.org>
date Fri, 01 Jan 2016 21:29:41 -0800
parents 6176560b03d9
children 5a340d8458d6
files NEWS
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS
+++ b/NEWS
@@ -103,6 +103,15 @@
     This makes the error and print_usage functions in C++ work more like
     the corresponding functions in the scripting language.
 
+ ** The default error handlers in liboctave have been updated to use
+    exceptions.  After displaying an error message they no longer return
+    control to the calling program.  The error handler function can be
+    customized through the global variables "current_liboctave_error_handler"
+    and "current_liboctave_error_with_id_handler".  If a programmer has
+    installed their own custom error handling routines when directly linking
+    with liboctave then these must be updated to throw an exception and
+    not return to the calling program. 
+
  ** New configure option, --enable-address-sanitizer-flags, to build
     Octave with memory allocator checks (similar to those provided by
     valgrind) built in.