First step to add context search to a page. Works fine but needs to be improved with several list of selectors.
<?php
namespace Doctrine\ORM\Tools;
use Doctrine\ORM\ORMException;
class ToolsException extends ORMException
{
public static function couldNotMapDoctrine1Type($type)
{
return new self("Could not map doctrine 1 type '$type'!");
}
}