Bad exception handling style