Dealing with exceptions.