Re: UU: DB: Exception differentiation
I can scan UU procs for possible exception situations and define a list of exception classes, if you want. Then, I can add CUUDatabase class, and derive CConnection from CUUDatabase instead of CPostgreSQLDatabase.
BTW, the reason why I originally didn't add multiple exception classes into SPTK was pretty simple. I couldn't find significant code branching advantages, and translation from the original exception text to humanly readable was simpler with a single exception class. At some point I even had six or seven such classes - it doesn't pay.
2008/12/27 Ilya A. Volynets-Evenbakh <firstname.lastname@example.org>
Ilya A. Volynets-Evenbakh wrote:
That sounds reasonable.
BTW, I modified CRecordSet to special-case access violation exception in
this way. Once you take care of CUUDatabase, those changes will need to