‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Error\Http\InternalServerErrorException Class Reference
Inheritance diagram for TYPO3\CMS\Core\Error\Http\InternalServerErrorException:
TYPO3\CMS\Core\Error\Http\AbstractServerErrorException TYPO3\CMS\Core\Error\Http\StatusException TYPO3\CMS\Core\Error\Exception TYPO3\CMS\Core\Exception

Public Member Functions

 __construct ($message=null, $code=0)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Error\Http\StatusException
 __construct ($statusHeaders, $message, $title='', $code=0)
 
 setTitle ($title)
 
string getTitle ()
 
array getStatusHeaders ()
 

Protected Attributes

array $statusHeaders = array( HttpUtility::HTTP_STATUS_500 )
 
string $title = 'Internal Server Error (500)'
 
string $message = 'This page is currently not available due to server errors.'
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\Error\Http\StatusException
array $statusHeaders
 
string $title = 'Oops, an error occurred!'
 

Detailed Description

Exception for Error 500 - Internal Server Error

Definition at line 23 of file InternalServerErrorException.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Error\Http\InternalServerErrorException::__construct (   $message = null,
  $code = 0 
)

Constructor for this Status Exception

Parameters
string$messageError Message
int$codeException Code

Definition at line 43 of file InternalServerErrorException.php.

References TYPO3\CMS\Core\Error\Http\InternalServerErrorException\$message.

Member Data Documentation

◆ $message

string TYPO3\CMS\Core\Error\Http\InternalServerErrorException::$message = 'This page is currently not available due to server errors.'
protected

◆ $statusHeaders

array TYPO3\CMS\Core\Error\Http\InternalServerErrorException::$statusHeaders = array( HttpUtility::HTTP_STATUS_500 )
protected

HTTP Status Header lines

Definition at line 27 of file InternalServerErrorException.php.

◆ $title

string TYPO3\CMS\Core\Error\Http\InternalServerErrorException::$title = 'Internal Server Error (500)'
protected

Title of the message

Definition at line 31 of file InternalServerErrorException.php.