[perl #48150] [DOCS] pdd23 doesn't document obtaining thrown exception object

Will Coleda via RT bugs-parrot-track at netlabs.develooper.com
Sat Jan 31 03:26:20 UTC 2009


On Sun Nov 30 06:26:54 2008, kjs wrote:
> On Tue Dec 04 22:24:22 2007, pmichaud wrote:
> > PDD23 doesn't provide much information about how an exception
> > handler gets access to the thrown exception object itself.
> > 
> > For exception handlers that are subs, I suspect the exception
> > is one of the arguments to the sub.  If so, this should be
> > made explicit.
> > 
> > For exception handlers that are label targets within subs,
> > I'm not sure what the "official" mechanism is.  Many programs
> > in the repository seem to use a ".get_results" PIR directive,
> > which isn't documented in pdd23 or in the draft pdd19.
> > 
> > Pm
> 
> .get_results is documented in PDD19; PDD23 has a section about the 
> different attributes of the exception object. 
> 
> It's not yet possible to have a .sub as an exception handler. I propose 
> to close this ticket, because 'obtaining' the exception object is now 
> documented. Once having a .sub as an EH, then documentation should be 
> added at that point (or a new ticket should be opened).
> 
> Comments?
> thanks!
> kjs
> 
> 

Agreed, the original question has been resolved. Closing ticket.

-- 
Will "Coke" Coleda


More information about the parrot-dev mailing list