Idiot exceptions: RemoteException, SQLException
Another great part in Cameron’s little series. I don’t agree with his bashing of the 7 Fallacies (he may have been referring this paper, too); the paper is great, just the conclusions the hypothetical unnamed junior Sun software engineer derived from it were wrong.
The semantics of a remote method invocation interface are different than those of a local interface, but to reduce that to a RemoteException that needs to be added to the method signature is just plain missing the point. It also means you can’t have the same interface signature for local and remote implementations — which was supposed to be the main benefit in the first place.
Technorati Tags: java