#595: Panic when rethrowing null
--------------------+-------------------------------------------------------
Reporter: isop | Owner: whiteknight
Type: bug | Status: new
Priority: normal | Milestone:
Component: none | Version: trunk
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
--------------------+-------------------------------------------------------
Changes (by whiteknight):
* owner: => whiteknight
Comment:
A fix shouldn't be too hard here, the question is what we want the
behavior of this system to be? What happens when we throw or rethrow a
null exception?
1) Do we throw another exception? This is what happens when we try to
"throw" a null, it eventually throws a not-implemented exception
2) Is that a no-op?
3) Do we treat it like a regular exception, and just move control to the
next handler (which then might raise all sorts of issues when we try to
access the exception object from the handler)?
Anything we do is obviously better then a full Panic, but there are a few
options to consider.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/595#comment:1>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets