1
0
mirror of synced 2024-12-13 14:56:01 +03:00

Fixing incorrect exception method used

This commit is contained in:
Jonathan H. Wage 2010-04-13 14:09:39 -04:00
parent 071adf68cd
commit 5442a32db8

View File

@ -155,7 +155,7 @@ abstract class AbstractFileDriver implements Driver
if ($this->_paths) {
foreach ((array) $this->_paths as $path) {
if ( ! is_dir($path)) {
throw MappingException::driverRequiresConfiguredDirectoryPath();
throw MappingException::fileMappingDriversRequireConfiguredDirectoryPath();
}
$iterator = new \RecursiveIteratorIterator(