exc handling with backtrace