aspose file tools
The moose likes Blog around the Campfire and the fly likes Rare Uses of a Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Blog around the Campfire
Bookmark "Rare Uses of a "ControlFlowException"" Watch "Rare Uses of a "ControlFlowException"" New topic

Rare Uses of a "ControlFlowException"

Lukas Eder
Ranch Hand

Joined: Jul 22, 2013
Posts: 41

Rare Uses of a "ControlFlowException"

Control flows are a "relict" from imperative programming, which has leaked into various other programming paradigms, including Java’s object oriented paradigm. Apart from the useful and ubiquitous branch and loop structures, there are also primitives (e.g. GOTO) and non-locals (e.g. exceptions).

This article gives some insight into various ways of simulating GOTO and implementing control flow signalling using exceptions. Only for those who dare challenge Java best practices!

When Java and SQL work together, great software can evolve. That's why I have created jOOQ. Follow me on
wood burning stoves
subject: Rare Uses of a "ControlFlowException"