EntityNotFoundException
extends BaseException
in package
FinalYes
HttpException.
Tags
Table of Contents
Properties
- $context : ExceptionContext
- $headers : array<string|int, mixed>
- $statusCode : int
Methods
- __construct() : mixed
- getContext() : ExceptionContext
- getDebugMessage() : string
- getHeaders() : array<string|int, mixed>
- Returns response headers.
- getParameters() : array<string|int, mixed>
- getPublicMessage() : string
- getStatusCode() : int
- Returns the status code.
- setHeaders() : mixed
Properties
$context
private
ExceptionContext
$context
$headers
private
array<string|int, mixed>
$headers
$statusCode
private
int
$statusCode
Methods
__construct()
public
__construct([array<string|int, mixed> $parameters = [] ]) : mixed
Parameters
- $parameters : array<string|int, mixed> = []
getContext()
public
getContext() : ExceptionContext
Return values
ExceptionContextgetDebugMessage()
public
getDebugMessage() : string
Return values
string —The full exception message that is logged and it can contain sensitive data
getHeaders()
Returns response headers.
public
getHeaders() : array<string|int, mixed>
Return values
array<string|int, mixed>getParameters()
public
getParameters() : array<string|int, mixed>
Return values
array<string|int, mixed>getPublicMessage()
public
getPublicMessage() : string
Return values
string —The message that can safely be displayed to end-users because it doesn't contain sensitive data
getStatusCode()
Returns the status code.
public
getStatusCode() : int
Return values
intsetHeaders()
public
setHeaders(array<string|int, mixed> $headers) : mixed
Parameters
- $headers : array<string|int, mixed>