Printed stack traces for checked exceptions