bug-kawa
[Top][All Lists]
Advanced

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

[Bug-kawa] [bugs #12416] try-catch doesn't bind exception in handler cla


From: Steve Yegge
Subject: [Bug-kawa] [bugs #12416] try-catch doesn't bind exception in handler clause
Date: Tue, 22 Mar 2005 08:55:30 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12416>

                 Summary: try-catch doesn't bind exception in handler clause
                 Project: Kawa
            Submitted by: stevey
            Submitted on: Tue 03/22/2005 at 08:55
                Category: None
                Severity: 5 - Average
              Item Group: Unexpected result
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

(try-catch
 (primitive-throw (make <java.lang.Exception> "hi"))
 (x <java.lang.Exception>
    (display (format "~A~%" (invoke x 'getClass)))
    (force-output)))
class gnu.math.IntNum

The documentation claims that the exception itself is bound to the handler
variable, but it appears to be binding something else.  Would be useful to
have it bind the exception object so you can use it to print stack traces,
re-throw it, etc.






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12416>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]