| Article: |
What I Hate About Your Programming Language | |
| Subject: | Java + Exceptions | |
| Date: | 2003-05-15 15:22:48 | |
| From: | anonymous2 | |
|
Response to: Java + Exceptions
|
||
|
You are missing the point - a user should never see a stack trace. If you think missing the file is a good time to bail on the program than catch it and do a System.exit.
|
||
Showing messages 1 through 1 of 1.



All I'm saying is that sometimes I don't consider certain things exceptional. Java won't let me ignore them. I either have to deal with the exception or let it crash.
I don't like either option. If I know the file's not likely to be there and my program isn't going to crash if it's not there, it's not an exceptional condition. Why do I have to do busywork to make my intent clear?