Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/util In directory hutz:/tmp/cvs-serv507/src/org/w3c/unicorn/util Modified Files: UnicornAuthenticator.java Log Message: catches all Exceptions Index: UnicornAuthenticator.java =================================================================== RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/util/UnicornAuthenticator.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- UnicornAuthenticator.java 23 Sep 2009 15:19:36 -0000 1.2 +++ UnicornAuthenticator.java 23 Sep 2009 15:21:52 -0000 1.3 @@ -29,9 +29,7 @@ username = st.nextToken(); password = st.nextToken(); } - } catch (HeadlessException e) { - Framework.logger.error("Before sending mails you must specify a username and a password in mail.properties. If your SMTP server does not need authentication, set mail.smtp.auth to false."); - } catch (NoClassDefFoundError e) { + } catch (Exception e) { Framework.logger.error("Before sending mails you must specify a username and a password in mail.properties. If your SMTP server does not need authentication, set mail.smtp.auth to false."); }Received on Wednesday, 23 September 2009 15:22:03 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:39 UTC