posted 21 years ago
I have a very strange problem with some code. The code is as follows:
<font size=+1>
</font>
The method that calls this has code that goes through the List and prints out what is in it. When the code runs, the only statement that appears inside the list is "before connection." If I put the return connection from the getConnection method in a finally block, then I get connection is null. That makes it appear that an exception is being thrown. Now here is the tricky part. The code that calls this method catches all exceptions and prints them out. It is not catching any exceptions. Does anyone have any ideas on this?