Hey everyone.
I'm brain dead or something but I am setting a variable to the servlet
context. Inside that there is a database connection and query of the
database, however i need to throw a DataLayerException, and I'm not sure
where.
CODE ##########################################
public void init(ServletConfig config) throws ServletException{
Connection Connection = null;
Connection = ConnectionFactory.getConnection();
synchronized(Connection)
< Connection = ConnectionFactory.getConnection(); > is where its asking for
the Exception.
And Ben if this looks familar it is :)
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)