This would need to be `\Exception` rather than `Exception`.