‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Error\Http\BadRequestException Class Reference
Inheritance diagram for TYPO3\CMS\Core\Error\Http\BadRequestException:
TYPO3\CMS\Core\Error\Http\AbstractClientErrorException 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_400 )
 
string $title = 'Bad Request (400)'
 
string $message = 'The request cannot be fulfilled due to bad syntax.'
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\Error\Http\StatusException
array $statusHeaders
 
string $title = 'Oops, an error occurred!'
 

Detailed Description

Exception for Error 400 - Bad Request

Definition at line 23 of file BadRequestException.php.

Constructor & Destructor Documentation

◆ __construct()

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

Constructor for this Status Exception

Parameters
string$messageError Message
int$codeException Code

Definition at line 43 of file BadRequestException.php.

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

Member Data Documentation

◆ $message

string TYPO3\CMS\Core\Error\Http\BadRequestException::$message = 'The request cannot be fulfilled due to bad syntax.'
protected

◆ $statusHeaders

array TYPO3\CMS\Core\Error\Http\BadRequestException::$statusHeaders = array( HttpUtility::HTTP_STATUS_400 )
protected

HTTP Status Header lines

Definition at line 27 of file BadRequestException.php.

◆ $title

string TYPO3\CMS\Core\Error\Http\BadRequestException::$title = 'Bad Request (400)'
protected

Title of the message

Definition at line 31 of file BadRequestException.php.