Fixing incorrect exception type.

This commit is contained in:
mark_story 2010-12-14 23:22:03 -05:00
parent a6014cfd8d
commit 7b4ffa2ee9

View file

@ -78,7 +78,7 @@ class ComponentCollection extends ObjectCollection {
)); ));
} }
if (!class_exists($componentClass)) { if (!class_exists($componentClass)) {
throw new MissingComponentFileException(array( throw new MissingComponentClassException(array(
'file' => Inflector::underscore($component) . '.php', 'file' => Inflector::underscore($component) . '.php',
'class' => $componentClass 'class' => $componentClass
)); ));