Resolving problems with exceptions