commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Cooper" <martin.coo...@tumbleweed.com>
Subject RE: DBCP/LANG
Date Sun, 11 Aug 2002 18:09:52 GMT


> -----Original Message-----
> From: costinm@covalent.net [mailto:costinm@covalent.net]
> Sent: Sunday, August 11, 2002 8:20 AM
> To: Jakarta Commons Developers List
> Subject: DBCP/LANG
> 
> 
> First issue: there is now a dependency of DBCP on lang. It 
> doesn't apear 
> in proposal, and I don't remember any vote on this.
> 
> AFAIK [lang] has not been released - that causes problems for projects
> using dbcp. ( tomcat will probably have to either wait for a 
> 1.0 release 
> of lang or drop use of dbcp ). 

Huh? DBCP hasn't been released either...

--
Martin Cooper


> 
> I took a look at the use, there are few
> ObjectUtils.equals() - which is a simple equal with checks for nulls. 
> And there is  deserialize() that just wrap the original exception
> in a runtime exception - a very bad thing IMHO. 
> 
> Regarding the wrapper exception - NestableException - I find it very
> wrong. 
> 
> Having a common tool to manipluate exceptions would be great - but 
> I don't think this is the one. 
> There is a very common pattern ( getCause() ) used in most exceptions,
> and there is already code to use introspection to walk the exception
> hierarchy. Introducing a new type and expecting projects to 
> change their
> APIs ( exceptions are part of the API ) to use it is wrong - 
> especially
> when there are solutions without tight coupling.
> 
> Costin
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:commons-dev-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message