| Sign In/My Account | View Cart |
| Article: |
What I Hate About Your Programming Language | |
| Subject: | Java: Catch all exceptions? | |
| Date: | 2003-05-13 17:19:41 | |
| From: | anonymous2 | |
|
Response to: Java: Catch all exceptions?
|
||
|
I think the language designers wanted you to make throwing the exception part of the interface of your own function. If someone calling your function doesn't know how you implemented it, how do they know they should check for a HashTableSober exception, or somesuch? The client code shouldn't crash because of something it wasn't informed of.
|
||