[+BUGFIX] Extbase (MVC): Fixed wrong exception name. Resolves #4200.
authorSebastian Kurfürst <sebastian@typo3.org>
Mon, 10 Aug 2009 04:45:19 +0000 (04:45 +0000)
committerSebastian Kurfürst <sebastian@typo3.org>
Mon, 10 Aug 2009 04:45:19 +0000 (04:45 +0000)
typo3/sysext/extbase/Classes/MVC/Request.php

index b159a5b..20f0396 100644 (file)
@@ -279,7 +279,7 @@ class Tx_Extbase_MVC_Request {
         * @api
         */
        public function getArgument($argumentName) {
-               if (!isset($this->arguments[$argumentName])) throw new Tx_Extbase_MVC_Exception_MVC_NoSuchArgument('An argument "' . $argumentName . '" does not exist for this request.', 1176558158);
+               if (!isset($this->arguments[$argumentName])) throw new Tx_Extbase_MVC_Exception_NoSuchArgument('An argument "' . $argumentName . '" does not exist for this request.', 1176558158);
                return $this->arguments[$argumentName];
        }