I’ve caught an exception!! Now what?

Rule of thumb for exception handling–If you don’t know what to do with it, don’t catch it.

Corollary to the rule of thumb for exception handling–Handle exceptions at the last responsible moment. If you don’t know if this is the last responsible moment, it isn’t.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)