TYPO3  7.6
Public Member Functions | Protected Attributes | List of all members
BadRequestException Class Reference
Inheritance diagram for BadRequestException:
AbstractClientErrorException StatusException Exception Exception

Public Member Functions

 __construct ($message=null, $code=0)
 

Protected Attributes

 $statusHeaders = array(\TYPO3\CMS\Core\Utility\HttpUtility::HTTP_STATUS_400)
 
 $title = 'Bad Request (400)'
 
 $message = 'The request cannot be fulfilled due to bad syntax.'
 

Detailed Description

Exception for Error 400 - Bad Request

Definition at line 20 of file BadRequestException.php.

Constructor & Destructor Documentation

__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 BadRequestException\$message.

Member Data Documentation

$message = 'The request cannot be fulfilled due to bad syntax.'
protected

Definition at line 35 of file BadRequestException.php.

Referenced by BadRequestException\__construct().

$statusHeaders = array(\TYPO3\CMS\Core\Utility\HttpUtility::HTTP_STATUS_400)
protected

Definition at line 25 of file BadRequestException.php.

$title = 'Bad Request (400)'
protected

Definition at line 30 of file BadRequestException.php.