Jonathan Scott Duff <[EMAIL PROTECTED]> writes:

> On Sun, Aug 13, 2000 at 10:51:24PM -0700, Peter Scott wrote:
> > Could be.  I'd be interested in seeing non-OOP proposals that do what I 
> > want exceptions to do, I have a hard time imagining one.
> 
> Well, what is it that you want exceptions to do?
> 
> > >What does it mean for an exception to have semantics?  When an exception
> > >is thrown does something special happen whether it's caught or not?
> > 
> > Yes.   In my proposal, if it's caught, the catcher examines the exception 
> > object.  If it isn't caught, the program dies with the message attribute as 
> > text.
> 
> This doesn't show that the exception object itself has any semantics.
> If the catcher examines, the object is being passive.  Does the object
> *do* anything?

I want it to be able to. Depends on how you write it...

-- 
Piers

Reply via email to