diff --git a/lib/Doctrine/ORM/Tools/Cli/Tasks/ConvertMappingTask.php b/lib/Doctrine/ORM/Tools/Cli/Tasks/ConvertMappingTask.php index 3afeca85f..6cca6e929 100644 --- a/lib/Doctrine/ORM/Tools/Cli/Tasks/ConvertMappingTask.php +++ b/lib/Doctrine/ORM/Tools/Cli/Tasks/ConvertMappingTask.php @@ -137,7 +137,7 @@ class ConvertMappingTask extends AbstractTask $type = $this->_determineSourceType($sourceArg); if ( ! $type) { - throw DoctrineException::invalidMappingSourceType($sourceArg); + throw CliException::invalidMappingSourceType($sourceArg); } $source = $this->_getSourceByType($type, $sourceArg);