# Exceptions and Errors

- Thread: https://externals.io/message/9186
- Original archive: https://news-web.php.net/php.internals/9186
- Started by George Schlossnagle on 2004-04-15T13:55:42+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #9186 — George Schlossnagle — 2004-04-15T13:55:42+00:00

URL: https://externals.io/message/9186#9186

> 
>
> > […]
>
>     But if some extension (e.g. sqlite) forces you to use them?
>     (yes, I can always use the non-OO-API, but still..)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Yep.  Or use it in the documented way.  I don't see what the flap is 
about.  It's not mysterious.  It's doc'd that constructors throw 
exceptions to signal failures.  Refusal to use something in the 
documented (and standard, as far as other OO-centric languages are 
concerned) way solicits little sympathy from me.

George
