ResourceNotFoundExceptionHandler

Implements ExceptionHandlerInterface

Handler for invalid resource requests that should give a 404

since

4.0.0

package

Joomla CMS

Methods

handle

Handle the provided exception.

handle(\Exception e) : \Tobscure\JsonApi\Exception\Handler\ResponseBag
since

4.0.0

Arguments

e

ExceptionThe exception being handled

Response

ResponseBag

manages

If the exception handler is able to format a response for the provided exception, then the implementation should return true.

manages(\Exception e) : 
since

4.0.0

Arguments

e

ExceptionThe exception to be handled

Response

bool