46 set_exception_handler(array($this,
'handleException'));
59 'TYPO3\\CMS\\Core\\Messaging\\ErrorpageMessage',
63 $messageObj->output();
73 $filePathAndName = $exception->getFile();
74 $exceptionCodeNumber = $exception->getCode() > 0 ?
'#' . $exception->getCode() .
': ' :
'';
77 Uncaught TYPO3 Exception ' . $exceptionCodeNumber . $exception->getMessage() . LF;
78 echo
'thrown in file ' . $filePathAndName . LF;
79 echo
'in line ' . $exception->getLine() .
' 96 if ($exception->getCode() === 1396795884) {
100 if ($exception instanceof Http\AbstractClientErrorException) {
105 return $GLOBALS[
'TSFE']->beUserLogin;
118 return htmlspecialchars($exception->getTitle());
133 if ($exception->getCode() > 0) {
134 $moreInformationLink =
'<p>More information regarding this error might be available <a href="' 135 . TYPO3_URL_EXCEPTION . $exception->getCode() .
'" target="_blank">online</a>.</p>';
137 $moreInformationLink =
'';
139 return htmlspecialchars($exception->getMessage()) . $moreInformationLink;
getMessage(\Exception $exception)
sendStatusHeaders(\Exception $exception)
getTitle(\Exception $exception)
static makeInstance($className)
writeLogEntries(\Exception $exception, $context)
echoExceptionWeb(\Exception $exception)
discloseExceptionInformation(\Exception $exception)
echoExceptionCLI(\Exception $exception)
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]