++ Manager exceptions
Doctrine_Manager_Exception is thrown if something failed at the connection management
try {
$manager->getConnection('unknown');
} catch (Doctrine_Manager_Exception) {
// catch errors
}
++ Relation exceptions
thrown if something failed during the relation parsing
++ Connection exceptions
thrown if something failed at the database level
try {
$conn->execute('SELECT * FROM unknowntable');
} catch (Doctrine_Connection_Exception) {
// catch errors
}
++ Query exceptions
thrown if DQL parsing fails somehow