Neos.Neos/Classes/Fusion/ExceptionHandlers/NodeWrappingHandler.php
protected function getMessage(\Exception $exception, $referenceCode)
    {
        if (isset($referenceCode)) {
            return sprintf('%s (%s)', $exception->getMessage(), $referenceCode);
        }
        return $exception->getMessage();
    }
protected function getMessage(\Exception $exception, $referenceCode)
    {
        if (isset($referenceCode)) {
            return sprintf('%s (%s)', $exception->getMessage(), $referenceCode);
        }
        return $exception->getMessage();
    }
protected function getMessage ( \ Exception $ exception , $ referenceCode ) { if ( isset ( $ referenceCode ) ) { return sprintf ( '%s (%s)' , $ exception -> getMessage ( ) , $ referenceCode ) ; } return $ exception -> getMessage ( ) ; }
appends the given reference code to the exception's message
unless it is unset

@param \Exception $exception
@param $referenceCode
@return string
appends the given reference code to the exception s message unless it is unset