If you contemplate the surrounding context, it's pretty clear that this approach ain't quite right, as another exception is being raised on the preceding line.