||What I Hate About Your Programming Language|
|Subject:||Java: Catch all exceptions?|
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.
Hear us Roar