Here and elsewhere, use appropriate exceptions