. */ namespace Doctrine\ORM\Tools; use Doctrine\ORM\ORMException; /** * Tools related Exceptions * * @author Benjamin Eberlei */ class ToolsException extends ORMException { public static function schemaToolFailure($sql, \Exception $e) { return new self("Schema-Tool failed with Error '" . $e->getMessage() . "' while executing DDL: " . $sql, "0", $e); } public static function couldNotMapDoctrine1Type($type) { return new self("Could not map doctrine 1 type '$type'!"); } }