[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #40828] Exception handling: MException object
From: |
Guillaume |
Subject: |
[Octave-bug-tracker] [bug #40828] Exception handling: MException object functions |
Date: |
Fri, 22 Oct 2021 04:39:16 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Follow-up Comment #7, bug #40828 (project octave):
I attach a suggestion of implementation for the MException class.
I notice that Matlab's identifiers cannot contain a "-" while Octave allows
(and uses it), e.g. "Octave:undefined-function". Current checks on identifiers
are strict so "-" will have to be added as a valid character for Octave use.
There is a hidden, public setAccess property hasBeenCaught that should be set
to true when a MException object has been created from a try/catch.
(file #52144)
_______________________________________________________
Additional Item Attachment:
File name: MException.m Size:11 KB
<https://file.savannah.gnu.org/file/MException.m?file_id=52144>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?40828>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/