public function handleRenderingException($typoScriptPath, \Exception $exception)
{
if ($exception instanceof RuntimeException) {
throw $exception;
} else {
throw new RuntimeException('TypoScript Rendering Exception, see typoScriptPath and nested Exception for details.', 1401803055, $exception, $typoScriptPath);
}
}