tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Livanov <sergey.liva...@ukrpost.net>
Subject RE JNDI ( Charles So )
Date Wed, 30 Apr 2003 15:11:19 GMT
Hi Charles,
I'm using Novell Extend Workbench 4.0 IDE and
when I write   DataSource ds.    text IDE propose
throw SQL exception catch.

I try   Exception   code but get ERROR !


Than you for answer and propositions !


CS> Hi Sergey,

CS> What are the SQL exceptions? The code below is only trying to open a 
CS> connection... It shouldn't throw SQL exceptions!!!

CS> BTW, try to catch an Exception, not SQLException. it is not right to 
CS> catch SQL Exception as u are not even executing SQL statement in that 
CS> block of code



--
Укрпост - продвинутая почта. http://www.ukrpost.net/
IMAP POP3 NNTP RSSNews Unicode.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message