From: lgzzsf <lg...@us...> - 2005-09-09 17:07:18
|
Update of /cvsroot/gatormail/GatorMail/src/java/edu/ufl/osg/webmail/data In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8913/src/java/edu/ufl/osg/webmail/data Modified Files: AddressBkDAO_DB.java UserInfoDAO_LDAP.java Log Message: Added sql statement to add table preferences in MySql and improved exception handling to reflect java 1.4 changes Index: UserInfoDAO_LDAP.java =================================================================== RCS file: /cvsroot/gatormail/GatorMail/src/java/edu/ufl/osg/webmail/data/UserInfoDAO_LDAP.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** UserInfoDAO_LDAP.java 19 Oct 2004 21:10:51 -0000 1.5 --- UserInfoDAO_LDAP.java 9 Sep 2005 17:07:07 -0000 1.6 *************** *** 98,112 **** } catch (MessagingException e) { final UserInfoDAOException ue = new UserInfoDAOException("MessagingException: " + e.getMessage()); ! //ue.initCause(e); // XXX Not until Java 1.4 throw ue; } catch (UnsupportedEncodingException e) { final UserInfoDAOException ue = new UserInfoDAOException("UnsupportedEncodingException: " + e.getMessage()); ! //ue.initCause(e); // XXX Not until Java 1.4 throw ue; } catch (IOException e) { final UserInfoDAOException ue = new UserInfoDAOException("IOException: " + e.getMessage()); ! //ue.initCause(e); // XXX Not until Java 1.4 throw ue; } --- 98,112 ---- } catch (MessagingException e) { final UserInfoDAOException ue = new UserInfoDAOException("MessagingException: " + e.getMessage()); ! ue.initCause(e); throw ue; } catch (UnsupportedEncodingException e) { final UserInfoDAOException ue = new UserInfoDAOException("UnsupportedEncodingException: " + e.getMessage()); ! ue.initCause(e); throw ue; } catch (IOException e) { final UserInfoDAOException ue = new UserInfoDAOException("IOException: " + e.getMessage()); ! ue.initCause(e); throw ue; } Index: AddressBkDAO_DB.java =================================================================== RCS file: /cvsroot/gatormail/GatorMail/src/java/edu/ufl/osg/webmail/data/AddressBkDAO_DB.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AddressBkDAO_DB.java 19 Oct 2004 19:35:45 -0000 1.3 --- AddressBkDAO_DB.java 9 Sep 2005 17:07:07 -0000 1.4 *************** *** 93,107 **** } catch (MessagingException e) { final AddressBkDAOException ae = new AddressBkDAOException("MessagingException: " + e.getMessage()); ! //ae.initCause(e); // XXX Not until Java 1.4 throw ae; } catch (UnsupportedEncodingException e) { final AddressBkDAOException ae = new AddressBkDAOException("UnsupportedEncodingException: " + e.getMessage()); ! //ae.initCause(e); // XXX Not until Java 1.4 throw ae; } catch (IOException e) { final AddressBkDAOException ae = new AddressBkDAOException("IOException: " + e.getMessage()); ! //ae.initCause(e); // XXX Not until Java 1.4 throw ae; } --- 93,107 ---- } catch (MessagingException e) { final AddressBkDAOException ae = new AddressBkDAOException("MessagingException: " + e.getMessage()); ! ae.initCause(e); throw ae; } catch (UnsupportedEncodingException e) { final AddressBkDAOException ae = new AddressBkDAOException("UnsupportedEncodingException: " + e.getMessage()); ! ae.initCause(e); throw ae; } catch (IOException e) { final AddressBkDAOException ae = new AddressBkDAOException("IOException: " + e.getMessage()); ! ae.initCause(e); throw ae; } |