db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David W. Van Couvering" <David.Vancouver...@Sun.COM>
Subject Re: Client SQLException change causing build failure
Date Sat, 28 Jan 2006 19:05:02 GMT
Hi, Andrew.  Are you doing your build with JDK 1.6?  I did my build with 
1.4.  I'm not trying to pass off blame, just trying to understand the 
circumstances better.

Thanks,

David

Andrew McIntyre wrote:
> Hi David,
> 
> I think that your changes that went in with revision 371561 are
> causing ClientPooledConnection40.java to fail to compile:
> 
> compile_jdbc4_target:
>      [echo]     [javac]
> C:\derby-trunk\java\client\org\apache\derby\client\ClientPooledConnection40.java:32:
> unreported exception java.sql.SQLException; must be caught or declared
> to be thrown
>      [echo]     [javac]         super(ds,logWriter,user,password);
>      [echo]     [javac]              ^
> 
> <snip other two errors>
> 
>      [echo]     [javac] 3 errors
>      [echo]
>      [echo] BUILD FAILED
> 
> Because ClientPooledConnection40 extends ClientPooledConnection, but
> the latter now throws SQLExceptions instead of SqlExceptions. Take a
> look if you have a moment.
> 
> Thanks,
> andrew

Mime
View raw message