Skip to content

Commit

Permalink
Fixing incorrect exception type.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Dec 15, 2010
1 parent a6014cf commit 7b4ffa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/controller/component_collection.php
Expand Up @@ -78,7 +78,7 @@ public function load($component, $settings = array()) {
));
}
if (!class_exists($componentClass)) {
throw new MissingComponentFileException(array(
throw new MissingComponentClassException(array(
'file' => Inflector::underscore($component) . '.php',
'class' => $componentClass
));
Expand Down

0 comments on commit 7b4ffa2

Please sign in to comment.