This is a single archived entry from Stefan Tilkov’s blog. For more up-to-date content, check out my author page at INNOQ, which has more information about me and also contains a list of published talks, podcasts, and articles. Or you can check out the full archive.

Idiot exceptions: RemoteException, SQLException

Stefan Tilkov,

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: