Here is a patch that adds "throws Exception" to main and setupDriver. The constructor for PoolableConnectionFactory throws an exception which is not being caught and causes a compiler error.
Steven Caswell [EMAIL PROTECTED]
--- ManualPoolingDriverExample.java.orig Sun Apr 21 02:07:52 2002 +++ ManualPoolingDriverExample.java Sun Apr 21 15:58:53 2002 @@ -115,7 +115,7 @@ // public class ManualPoolingDriverExample { - public static void main(String[] args) { + public static void main(String[] args) throws Exception { // // First, we set up and register the PoolingDriver. // Normally this would be handled auto-magically by @@ -162,7 +162,7 @@ } } - public static void setupDriver(String connectURI) { + public static void setupDriver(String connectURI) throws Exception { // // First, we'll need a ObjectPool that serves as the // actual pool of connections.
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>