@deeky666 They would need to be wrapped again, because exceptions being catched and passed to this method are not coming from the Doctrine code most of the time but from PDO, MySQLi or whatever else you use. So changing the original exception itself to make it implement a DriverException interface does not work.