It's better to use a more fine-grained exception here.