At least, that's what Subhash Gopalakrishnan's colleauge believes. He just simply does not trust the standard method of exception handling .... ever. Maybe he's had a bad experience with Java ... or maybe ... he knows something about Java that we don't ...
//names changed to protect Subhash boolean exceptionFlag = true; try { initializeResources(); compareAggregates(); exceptionFlag = false; } catch(Exception e) { if(exceptionFlag) e.printStackTrace(); } if(exceptionFlag) throw new Exception("An Error has occured");
[Advertisement]
BuildMaster allows you to create a self-service release management platform that allows different teams to manage their applications. Explore how!