Update example, make exceptions more useful