symfony API

sfError404Exception Class

« Back to API menu

action

addon

cache

config

controller

countable

database

debug

exception

filter

generator

helper

i18n

log

request

response

storage

test

user

util

validator

view

You are currently browsing the symfony documentation for the 1.0 version. Switch to:

sfError404Exception is thrown when a 404 error occurs in an action.

Method Summary

  • __construct($message = null, $code)
    Class constructor.
  • printStackTrace((Exception) $exception = null)
    Forwards to the 404 action.

Method Details

  • __construct ($message = null, $code)

    $message The error message
    $code The error code

    Class constructor.

  • printStackTrace ((Exception) $exception = null)

    $exception An Exception implementation instance

    Forwards to the 404 action.