diff --git a/lib/Cake/Routing/Router.php b/lib/Cake/Routing/Router.php index 20f374f72..740a439f3 100644 --- a/lib/Cake/Routing/Router.php +++ b/lib/Cake/Routing/Router.php @@ -194,7 +194,7 @@ class Router { $routeClass !== 'CakeRoute' && (!class_exists($routeClass) || !is_subclass_of($routeClass, 'CakeRoute')) ) { - throw new RouterException(__d('cake_dev', 'Route classes must extend CakeRoute')); + throw new RouterException(__d('cake_dev', 'Route class not found, or route class is not a subclass of CakeRoute')); } return $routeClass; }