Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Jody Mills   on Jun 01 In Java Category.

  
Question Answered By: Sophia Campbell   on Jun 01

Can you replace your catch  statements so that they
look like this

} catch (SQLException e1) {
System.err.println("Error in database  " +
e1);
} catch (ClassNotFoundException e2) {
System.err.println("Cannot find  database
driver " + e2);
}

I am not 100 % sure that this may solve your
problem...but can you have a go at this..

Share: