/** * Resets the current exception. */ public function resetCurrentException() { $this->currentException = null; sfException::clearLastException(); }