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

Public Member Functions

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

Protected Attributes

 $statusHeaders = array(\TYPO3\CMS\Core\Utility\HttpUtility::HTTP_STATUS_401)
 
 $title = 'Unauthorized (401)'
 
 $message = 'Accessing this page requires authorization.'
 

Detailed Description

Exception for Error 401 - Unauthorized

Definition at line 20 of file UnauthorizedException.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 UnauthorizedException.php.

References UnauthorizedException\$message.

Member Data Documentation

$message = 'Accessing this page requires authorization.'
protected

Definition at line 35 of file UnauthorizedException.php.

Referenced by UnauthorizedException\__construct().

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

Definition at line 25 of file UnauthorizedException.php.

$title = 'Unauthorized (401)'
protected

Definition at line 30 of file UnauthorizedException.php.