‪TYPO3CMS  ‪main
ServiceUnavailableException.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
19 
24 {
29 
33  protected ‪$title = 'Service Unavailable (503)';
34 
38  protected ‪$message = 'This page is currently not available.';
39 
46  public function ‪__construct(‪$message = null, $code = 0)
47  {
48  if (!empty(‪$message)) {
49  $this->message = ‪$message;
50  }
51  parent::__construct($this->statusHeaders, $this->message, $this->title, $code);
52  }
53 }
‪TYPO3\CMS\Core\Utility\HttpUtility\HTTP_STATUS_503
‪const HTTP_STATUS_503
Definition: HttpUtility.php:85
‪TYPO3\CMS\Core\Error\Http\ServiceUnavailableException\__construct
‪__construct($message=null, $code=0)
Definition: ServiceUnavailableException.php:43
‪TYPO3\CMS\Core\Error\Http
Definition: AbstractClientErrorException.php:16
‪TYPO3\CMS\Core\Error\Http\ServiceUnavailableException\$title
‪string $title
Definition: ServiceUnavailableException.php:31
‪TYPO3\CMS\Core\Error\Http\ServiceUnavailableException\$message
‪string $message
Definition: ServiceUnavailableException.php:35
‪TYPO3\CMS\Core\Error\Http\ServiceUnavailableException
Definition: ServiceUnavailableException.php:24
‪TYPO3\CMS\Core\Error\Http\AbstractServerErrorException
Definition: AbstractServerErrorException.php:21
‪TYPO3\CMS\Core\Error\Http\ServiceUnavailableException\$statusHeaders
‪array $statusHeaders
Definition: ServiceUnavailableException.php:27
‪TYPO3\CMS\Core\Utility\HttpUtility
Definition: HttpUtility.php:24