Two Rupees

Opinions on topics geek, tech, and such.

Recent Posts

  • Select all “obsolete” html elements with yolo-selector!
  • Play YouTube videos filling the browser window
  • Dynamic JavaScript Function Names
  • A node package appears: tagged-replace
  • Where is the log4j XML config reference?

Archives

  • March 2018
  • September 2017
  • August 2017
  • March 2016
  • August 2015
  • May 2015
  • February 2015
  • July 2012
  • June 2012

Categories

  • Programming
  • Uncategorized

Tags

apache base64 codepen command line functions HTTP iOS java javascript log4j objective-c recipe shell TIL xml

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Skip to content

Two Rupees

Tag: TIL

Java Suppressed Exceptions

Today I learned something new about Java exceptions. The always surprising try-catch statement has a concept called suppressed exceptions. The main idea is that a the whole try structure can throw an exception from more than one place:

  • The catch block
  • The finally block
  • The try-with-resources implicit close

Continue reading →

Posted on February 17, 2015June 11, 2017 by Javier Cardona 0
Proudly powered by WordPress ~ Theme: Scrawl by WordPress.com.