Demo handles exceptions better.