tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r656124 - /tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java
Date Wed, 14 May 2008 07:17:47 GMT
Author: markt
Date: Wed May 14 00:17:46 2008
New Revision: 656124

URL: http://svn.apache.org/viewvc?rev=656124&view=rev
Log:
Improve logging messages associated with previous commit in response to Filip's veto

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java?rev=656124&r1=656123&r2=656124&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java Wed May 14 00:17:46
2008
@@ -322,17 +322,17 @@
             ks.load(istream, pass.toCharArray());
         } catch (FileNotFoundException fnfe) {
             log.error(sm.getString("jsse.keystore_load_failed", type, path,
-                    fnfe.getMessage()));
+                    fnfe.getMessage()), fnfe);
             throw fnfe;
         } catch (IOException ioe) {
             log.error(sm.getString("jsse.keystore_load_failed", type, path,
-                    ioe.getMessage()));
+                    ioe.getMessage()), ioe);
             throw ioe;      
         } catch(Exception ex) {
             String msg = sm.getString("jsse.keystore_load_failed", type, path,
                     ex.getMessage());
-            log.error(msg);
-            throw new IOException(msg);
+            log.error(msg, ex);
+            throw new IOException(msg, ex);
         } finally {
             if (istream != null) {
                 try {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message