I have an exception thrown by em flush() method.
Is reported as PDOException in the PHP Fatal Error trace, generated from
the stmtn->execute() used by doctrine2.
Well, my problem is I am not able to catch this exception:
try {
em->flush();
} catch{\PDOException $e) {
// ... whatever
}
Is there any particular reason why It seems not possible to catch this
Exception?
I'd like to avoid using \Exception to catch it.
doctrine2 version: orm 2.3.0
bundle 1.2 (for symfony2)
Thanks.
--
You received this message because you are subscribed to the Google Groups
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.