Exception raised when a route names used twice.
Missing Controller exception - used when a controller cannot be found.
Exception raised when a Dispatcher filter could not be found
Exception raised when a URL cannot be reverse routed or when a URL cannot be parsed.
An exception subclass used by the routing layer to indicate that a route has resolved to a redirect.
The URL and status code are provided as constructor arguments.
throw new RedirectException('http://example.com/some/path', 301);