Remove reference to deleted exception class