Proper catch exceptions.