You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sergey Livanov <se...@ukrpost.net> on 2003/04/30 17:11:19 UTC

RE JNDI ( Charles So )

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