Overview
  • Namespace
  • Class
  • Tree

Namespaces

  • Modulework
    • Modules
      • Http
        • Exceptions
        • Utilities
  • PHP

Interfaces

  • HttpExceptionInterface

Exceptions

  • HttpNotFoundException

Class HttpNotFoundException

HttpNotFoundException Should be thrown if a 404 should be send to the browser

Exception
Extended by Modulework\Modules\Http\Exceptions\HttpNotFoundException implements Modulework\Modules\Http\Exceptions\HttpExceptionInterface
Namespace: Modulework\Modules\Http\Exceptions
Located at Modulework/Modules/Http/Exceptions/HttpNotFoundException.php

Methods summary

public
# __construct( integer $code = null, string $message = null, Exception $previous = null )

Constructor.

Constructor.

Parameters

$code
integer
$code The http status code
$message
string
$message The messages
$previous
Exceptions
$previous Previous exception (if nested)

Overrides

Exception::__construct

Implementation of

Modulework\Modules\Http\Exceptions\HttpExceptionInterface::__construct()
public integer
# getStatusCode( )

Returns the status code for this exception

Returns the status code for this exception

Returns

integer
The code

Implementation of

Modulework\Modules\Http\Exceptions\HttpExceptionInterface::getStatusCode()

Methods inherited from Exception

__toString(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()

Magic methods summary

Properties summary

Properties inherited from Exception

$code, $file, $line, $message

API documentation generated by ApiGen 2.8.0