diff --git a/lib/Doctrine/Task.php b/lib/Doctrine/Task.php index be74786b8..ce372b423 100644 --- a/lib/Doctrine/Task.php +++ b/lib/Doctrine/Task.php @@ -71,7 +71,7 @@ abstract class Doctrine_Task foreach ($requiredArguments as $arg) { if (!isset($this->arguments[$arg])) { - throw new Doctrine_Cli_Exception('Required arguments missing. The follow arguments are required: ' . implode(', ', $requiredArguments)); + throw new Doctrine_Task_Exception('Required arguments missing. The follow arguments are required: ' . implode(', ', $requiredArguments)); } } diff --git a/lib/Doctrine/Task/Exception.php b/lib/Doctrine/Task/Exception.php new file mode 100644 index 000000000..7431e55ef --- /dev/null +++ b/lib/Doctrine/Task/Exception.php @@ -0,0 +1,34 @@ +. + */ + +/** + * Doctrine_Task_Exception + * + * @package Doctrine + * @subpackage Task + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision: 2761 $ + * @author Jonathan H. Wage + */ +class Doctrine_Task_Exception extends Doctrine_Exception +{ } \ No newline at end of file