From: Ralph Shnelvar Date: 2010-07-29T05:44:36+09:00 Subject: rubyw, RuntimeError, capturing the stack, FXRuby ------------39CCFB369A7734 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Let's say I'm running rubyw and a RunTimeError is raised ... and I'm using FXRuby (which is tangential to this question) ... and I want to put up a errorbox ... But I want to capture the error message that would normally go to stdout, i.e. the call stack ... How would I capture the call stack to a string in a raised exception? - - - begin raise RuntimeError, "Something bad happened" rescue # What do I do here? end - - - ------------39CCFB369A7734--