Java gems: Throwable.initCause()
Gem might be a bit of an overstatement, but as Jukka shows, [initCause()](http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html#initCause(java.lang.Throwable))
can save your day, or at least your stack trace.