Were you intending to raise an alternative exception class here?