added YUI_CAUGHT() to exception-handling