public function pageNotFoundAndExit($reason = '', $header = '')
    {
        if (!defined('EXT_SOLR_INDEXING_CONTEXT')) {
            parent::pageNotFoundAndExit($reason, $header);
        }
        throw new DocumentPreparationException('Solr Document can not be prepared. The Reason: ' . $reason, 1517584045);
    }
public function pageNotFoundAndExit($reason = '', $header = '')
    {
        if (!defined('EXT_SOLR_INDEXING_CONTEXT')) {
            parent::pageNotFoundAndExit($reason, $header);
        }
        throw new DocumentPreparationException('Solr Document can not be prepared. The Reason: ' . $reason, 1517584045);
    }
public function pageNotFoundAndExit ( $ reason = '' , $ header = '' ) { if ( ! defined ( 'EXT_SOLR_INDEXING_CONTEXT' ) ) { parent :: pageNotFoundAndExit ( $ reason , $ header ) ; } throw new DocumentPreparationException ( 'Solr Document can not be prepared. The Reason: ' . $ reason , 1517584045 ) ; }
Page-not-found handler for use in frontend plugins from extensions.

@param string $reason Reason text
@param string $header HTTP header to send
@throws DocumentPreparationException
Page - not - found handler for use in frontend plugins from extensions .