TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Core\Error\Http\ServiceUnavailableException Class Reference
Inheritance diagram for TYPO3\CMS\Core\Error\Http\ServiceUnavailableException:
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)
 
 getTitle ()
 
 getStatusHeaders ()
 

Protected Attributes

 $statusHeaders = [\TYPO3\CMS\Core\Utility\HttpUtility::HTTP_STATUS_503]
 
 $title = 'Service Unavailable (503)'
 
 $message = 'This page is currently not available.'
 
- Protected Attributes inherited from TYPO3\CMS\Core\Error\Http\StatusException
 $statusHeaders
 
 $title = 'Oops, an error occurred!'
 

Detailed Description

Exception for Error 503 - Service Unavailable

Definition at line 20 of file ServiceUnavailableException.php.

Constructor & Destructor Documentation

◆ __construct()

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

Constructor for this Status Exception

Parameters
string$messageError Message
int$codeException Code

Definition at line 43 of file ServiceUnavailableException.php.

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

Member Data Documentation

◆ $message

TYPO3\CMS\Core\Error\Http\ServiceUnavailableException::$message = 'This page is currently not available.'
protected

◆ $statusHeaders

TYPO3\CMS\Core\Error\Http\ServiceUnavailableException::$statusHeaders = [\TYPO3\CMS\Core\Utility\HttpUtility::HTTP_STATUS_503]
protected

Definition at line 25 of file ServiceUnavailableException.php.

◆ $title

TYPO3\CMS\Core\Error\Http\ServiceUnavailableException::$title = 'Service Unavailable (503)'
protected

Definition at line 30 of file ServiceUnavailableException.php.