fuel/core — Issue #606: Router will route to abstract classes
Author: jschreuder
Created: 2011-10-24 13:35:43+00:00
State: open

When you do http://fuel-url/template it will attempt to route to `Controller_Template` ending in an exception because you can't instantiate an abstract class instead of showing a 404. We need some way to prevent this. I think checking beforehand is a little too much unnecessary overhead (needs ReflectionClass)? Or may be acceptable as it's only one per request?

Other solution might be to catch the ErrorException for instantiating abstract classes specificly, though that may be a bit hacky:

```php
getMessage(), 'Cannot instantiate abstract class') === 0)
{
throw new \HttpNotFoundException();
}
}
```