format exceptions, and uncaughtExceptions