What I Hate About Your Programming Language
Subject:   Java + Exceptions
Date:   2003-05-15 02:03:11
From:   anonymous2
Response to: Java + Exceptions

No you clearly do not know what you are doing. The whole point of checked exceptions is that the compiler can help verify that you are not forgetting to handle them.

You have to catch the FileNotFoundException somewhere... might as well make the code clear as to what is going on.

If you are happy to have your program exit with a stack trace... then you really really do not have a clue as to what you are doing.

1 to 1 of 1
  1. Java + Exceptions
    2003-05-15 10:11:33  chromatic | O'Reilly AuthorO'Reilly Blogger [View]

1 to 1 of 1