Neos.Fusion/Classes/Core/ExceptionHandlers/PlainTextHandler.php
protected function handle($fusionPath, \Exception $exception, $referenceCode)
    {
        if (isset($referenceCode)) {
            return sprintf(
                'Exception while rendering %s: %s (%s)',
                $this->formatScriptPath($fusionPath, "\n\t", false),
                strip_tags($exception->getMessage()),
                $referenceCode
            );
        } else {
            return sprintf(
                'Exception while rendering %s: %s',
                $this->formatScriptPath($fusionPath, "\n\t", false),
                strip_tags($exception->getMessage())
            );
        }
    }
protected function handle($fusionPath, \Exception $exception, $referenceCode)
    {
        if (isset($referenceCode)) {
            return sprintf(
                'Exception while rendering %s: %s (%s)',
                $this->formatScriptPath($fusionPath, "\n\t", false),
                strip_tags($exception->getMessage()),
                $referenceCode
            );
        } else {
            return sprintf(
                'Exception while rendering %s: %s',
                $this->formatScriptPath($fusionPath, "\n\t", false),
                strip_tags($exception->getMessage())
            );
        }
    }
protected function handle ( $ fusionPath , \ Exception $ exception , $ referenceCode ) { if ( isset ( $ referenceCode ) ) { return sprintf ( 'Exception while rendering %s: %s (%s)' , $ this -> formatScriptPath ( $ fusionPath , "\n\t" , false ) , strip_tags ( $ exception -> getMessage ( ) ) , $ referenceCode ) ; } else { return sprintf ( 'Exception while rendering %s: %s' , $ this -> formatScriptPath ( $ fusionPath , "\n\t" , false ) , strip_tags ( $ exception -> getMessage ( ) ) ) ; } }
Handles an Exception thrown while rendering Fusion

@param string $fusionPath path causing the exception
@param \Exception $exception exception to handle
@param integer $referenceCode
@return string
Handles an Exception thrown while rendering Fusion