Interface and Exception

Interfaces and exceptions have some synergy going on about them. Recently, I have been employing exceptions to preserve (meaningful) interfaces and redirect control back to the calling context. It is surprisingly elegant — at least compared to some alternatives.

This post is for subscribers only

Already have an account? Sign in.

Subscribe to Czar Pino

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.