Use exceptions.