Here's a beautiful example:
boolean exceptionFlag = true; try { initializeResources(); compareAggregates(); exceptionFlag = false; } catch(Exception e) { if(exceptionFlag) e.printStackTrace(); } if(exceptionFlag) throw new Exception("An Error has occured");(Sorry non-geeks, it'd take too long to explain the humor in this)
No comments:
Post a Comment