TYPO3 CMS  TYPO3_6-2
TYPO3\Flow\Exception Class Reference
Inheritance diagram for TYPO3\Flow\Exception:
TYPO3\CMS\Core\Exception TYPO3\Flow\Utility\Exception

Public Member Functions

 getReferenceCode ()
 
 getStatusCode ()
 

Protected Attributes

 $referenceCode
 
 $statusCode = 500
 

Detailed Description

A generic Flow Exception

Definition at line 19 of file Exception.php.

Member Function Documentation

◆ getReferenceCode()

TYPO3\Flow\Exception::getReferenceCode ( )

Returns a code which can be communicated publicly so that whoever experiences the exception can refer to it and a developer can find more information about it in the system log.

Returns
string

Definition at line 38 of file Exception.php.

References TYPO3\Flow\Exception\$referenceCode.

◆ getStatusCode()

TYPO3\Flow\Exception::getStatusCode ( )

Returns the HTTP status code this exception corresponds to (defaults to 500).

Returns
integer

Definition at line 51 of file Exception.php.

References TYPO3\Flow\Exception\$statusCode.

Member Data Documentation

◆ $referenceCode

TYPO3\Flow\Exception::$referenceCode
protected

Definition at line 24 of file Exception.php.

Referenced by TYPO3\Flow\Exception\getReferenceCode().

◆ $statusCode

TYPO3\Flow\Exception::$statusCode = 500
protected

Definition at line 29 of file Exception.php.

Referenced by TYPO3\Flow\Exception\getStatusCode().