#36 just a comment on an Exception

closed-fixed
nobody
1
2002-04-22
2002-02-21
Anonymous
No

jikes compilator

Issued 1 semantic warning
compiling ".../src/org/xml/sax/helpers/XMLReaderFactory
.java":

112. catch (Exception e) { /* normally
fails for applets */ }
<--------->
*** Caution: This try block cannot throw a "checked
exception" (JLS section 14.7) that can be caught here.
You may have intended to catch a RuntimeException ins
tead of an Exception.

A. HAMEL

Discussion

  • David Brownell
    David Brownell
    2002-03-05

    • priority: 5 --> 1
     
  • David Brownell
    David Brownell
    2002-04-22

    Logged In: YES
    user_id=44117

    Jikes likes to whine, eh? :)
    That code is fine, but it was tweaked anyway.

     
  • David Brownell
    David Brownell
    2002-04-22

    • status: open --> closed-fixed
     
  • David Brownell
    David Brownell
    2002-04-22

    Logged In: YES
    user_id=44117

    Fixed. Thanks for reporting this!