2010-09-03 Steffen Kamper <steffen@typo3.org>
+ * Fixed bug #15636: ExtDirect router should throw UnexpectedValueException instead of t3lib_error_exception
* Fixed bug #15550: t3lib_error_Exception not available in some cases (Thanks to Stefan Galinski)
2010-09-03 Ernesto Baschny <ernst@cron-it.de>
*
* @param object $singleRequest request object from extJS
* @param string $namespace namespace like TYPO3.Backend
- * @throws t3lib_error_exception if the remote method couldn't be found
+ * @throws UnexpectedValueException if the remote method couldn't be found
* @return mixed return value of the called method
*/
protected function processRpc($singleRequest, $namespace) {
// theoretically this can never happen, because of an javascript error on
// the client side due the missing namespace/endpoint
if (!isset($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ExtDirect'][$endpointName])) {
- throw new t3lib_error_Exception('ExtDirect: Call to undefined endpoint: ' . $endpointName);
+ throw new UnexpectedValueException('ExtDirect: Call to undefined endpoint: ' . $endpointName);
}
$endpointObject = t3lib_div::getUserObj(