octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #40828] Exception handling: MException object


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #40828] Exception handling: MException object functions
Date: Tue, 28 Dec 2021 12:40:26 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #10, bug #40828 (project octave):

I hoped to integrate MException in the Octave evaluator before now.  But at
this point it does seem better to postpone this feature until version 8.

If you want to experiment with it, the attached change will make CATCH blocks
create MException objects instead of simple structs.  This change is simple
enough but there are many test failures related to MException when running the
test suite after this change.  It seems that Octave is failing to find the
MException constructor.  I'm not sure what triggers that.  There was some
discussion of a similar problem in bug #60791 but the patch posted there did
not solve the problem for me.



(file #52580)
    _______________________________________________________

Additional Item Attachment:

File name: mexception-evaluator-patch.txt Size:0 KB
   
<https://file.savannah.gnu.org/file/mexception-evaluator-patch.txt?file_id=52580>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?40828>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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