From caf7668de50b65a569ff9475c32c666d308b9cda Mon Sep 17 00:00:00 2001 From: mark_story Date: Fri, 27 Aug 2010 23:04:09 -0400 Subject: [PATCH] Adding documentation for Dispatcher::dispatch throwing exceptions. --- cake/dispatcher.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cake/dispatcher.php b/cake/dispatcher.php index ebfbf3bcd..952ba893e 100644 --- a/cake/dispatcher.php +++ b/cake/dispatcher.php @@ -92,6 +92,8 @@ class Dispatcher extends Object { * @param string $url URL information to work on * @param array $additionalParams Settings array ("bare", "return") which is melded with the GET and POST params * @return boolean Success + * @throws MissingControllerException, MissingActionException, PrivateActionException if any of those error states + * are encountered. */ public function dispatch($url = null, $additionalParams = array()) { if ($this->base === false) {