Menu ▾ ▴

#12 FileNotFoundException not caught (patch included)

open
nobody
None
5
2003-09-07
2003-09-02
David Smith
No

Thanks for an excellent tool!

When I tried to use GenJar at first, I kept getting
BuildExceptions and the only error message was "Unable
to resolve MyClass.class". Really, however, what was
happening was a FileNotFoundException. The original
GenJar only caught IOException. This attached patch
will catch FileNotFoundException and provide the user
with a little more helpful output.

Discussion

  • David Smith

    David Smith - 2003-09-02

    Patch to add more specific error message when a file cannot be found.

     
  • David Smith

    David Smith - 2003-09-07
    • summary: FileNotFoundException not caught, unclear error message --> FileNotFoundException not caught (patch included)
     

Log in to post a comment.