Skip to content

Commit

Permalink
Remove RoutingException its not really required.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jul 10, 2012
1 parent 0d97530 commit 45ff4a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 32 deletions.
28 changes: 0 additions & 28 deletions lib/Cake/Error/RouterException.php

This file was deleted.

8 changes: 4 additions & 4 deletions lib/Cake/Test/TestCase/Routing/RouterTest.php
Expand Up @@ -1922,7 +1922,7 @@ public function testUsingCustomRouteClass() {
/**
* test that route classes must extend \Cake\Routing\Route\Route
*
* @expectedException Cake\Error\RouterException
* @expectedException Cake\Error\Exception
* @return void
*/
public function testCustomRouteException() {
Expand Down Expand Up @@ -2257,7 +2257,7 @@ public function testDefaultRouteClassGetter() {
/**
* Test that route classes must extend Cake\Routing\Route\Route
*
* @expectedException Cake\Error\RouterException
* @expectedException Cake\Error\Exception
* @return void
*/
public function testDefaultRouteException() {
Expand All @@ -2268,7 +2268,7 @@ public function testDefaultRouteException() {
/**
* Test that route classes must extend Cake\Routing\Route\Route
*
* @expectedException Cake\Error\RouterException
* @expectedException Cake\Error\Exception
* @return void
*/
public function testSettingInvalidDefaultRouteException() {
Expand All @@ -2278,7 +2278,7 @@ public function testSettingInvalidDefaultRouteException() {
/**
* Test that class must exist
*
* @expectedException Cake\Error\RouterException
* @expectedException Cake\Error\Exception
* @return void
*/
public function testSettingNonExistentDefaultRouteException() {
Expand Down

0 comments on commit 45ff4a0

Please sign in to comment.