private function addExceptionToScore(\exception $exception) { list($file, $line) = $this->getBacktrace($exception->getTrace()); $this->score->addException($file, $this->class, $this->currentMethod, $line, $exception); return $this; }