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

# Re: reraise and other error-handling

- Date: Fri, 2 Aug 1996 15:45:52 PDT
- From:
- Reply-To:

    --- "Adams, Charles" wrote:
    I also noticed that a try..except..finally..endtry construct does not
    compile.  It seems you can't mix the two kinds -- a "finally" statement
    can't be seen in a construct when "except" statements are also present.  Was
    this omission accidental or deliberate?
    --- end of quoted material ---

    Pavel said earlier this year that it was deliberate to avoid confusions of
    precedence.  i.e. is the finally used if the error is caught by an except.  He
    decided that

    try
       try
         blah
       except (E_BUG)
         blah
       endtry
    finally
       blah
    endtry

    would be good enough.

    -manta

- Prev: reraise and other error-handling
- Next: Re: reraise and other error-handling
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index