`@param \Exception|null` please also change this for the other methods.