> The PDO ctor throws a PDOException if connection to database fails, I see you 
> currently check if($this->db === null) to check if connection went ok.
>
> See: http://php.net/manual/en/pdo.construct.php

true, I used the AdoDB class as template. Thanks.

However - we have to decide how to deal with such kinds of exception.
Should we catch them and throw LoggerException instead, supress them
or simply let it flow?

I think option 1 and 3 are legal, I currently tend to option 3.

Cheers

Reply via email to