Re: Design question regarding exceptions.

2007-07-18 Thread Bruno Desthuilliers
asincero a écrit : > I have a class called Users that provides a higher level of > abstraction to an underlying "users" table in a pgsql database. It > has methods like "addUser()" and "deleteUser()" which, obviously, wrap > the corresponding SQL statements. My question is would it better to > le

Re: Design question regarding exceptions.

2007-07-17 Thread James Stroud
asincero wrote: > I have a class called Users that provides a higher level of > abstraction to an underlying "users" table in a pgsql database. It > has methods like "addUser()" and "deleteUser()" which, obviously, wrap > the corresponding SQL statements. My question is would it better to > let a

Design question regarding exceptions.

2007-07-17 Thread asincero
I have a class called Users that provides a higher level of abstraction to an underlying "users" table in a pgsql database. It has methods like "addUser()" and "deleteUser()" which, obviously, wrap the corresponding SQL statements. My question is would it better to let any exceptions thrown by th