Browse Source

update exception class

antograssiot 11 years ago
parent
commit
dbfbcbadd4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Datasource/ModelAwareTrait.php

+ 1 - 1
src/Datasource/ModelAwareTrait.php

@@ -74,7 +74,7 @@ trait ModelAwareTrait
      * @param string $type The type of repository to load. Defaults to 'Table' which
      *   delegates to Cake\ORM\TableRegistry.
      * @return object The model instance created.
-     * @throws \Cake\Model\Exception\MissingModelException If the model class cannot be found.
+     * @throws \Cake\Datasource\Exception\MissingModelException If the model class cannot be found.
      * @throws \InvalidArgumentException When using a type that has not been registered.
      */
     public function loadModel($modelClass = null, $type = 'Table')