protected function formatedExceptionMessage(\Exception $exception) { return sprintf('%s: %s in %s line %s', $exception->getDisplayType(), $exception->getMessage(), $exception->getFile(), $exception->GetLine()); }