tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1026784 - /tomcat/trunk/java/org/apache/catalina/session/PersistentManagerBase.java
Date Sun, 24 Oct 2010 13:02:24 GMT
Author: markt
Date: Sun Oct 24 13:02:24 2010
New Revision: 1026784

URL: http://svn.apache.org/viewvc?rev=1026784&view=rev
Log:
Avoid NPE
Don't use exception.printStackTrace()

Modified:
    tomcat/trunk/java/org/apache/catalina/session/PersistentManagerBase.java

Modified: tomcat/trunk/java/org/apache/catalina/session/PersistentManagerBase.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/session/PersistentManagerBase.java?rev=1026784&r1=1026783&r2=1026784&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/session/PersistentManagerBase.java (original)
+++ tomcat/trunk/java/org/apache/catalina/session/PersistentManagerBase.java Sun Oct 24 13:02:24
2010
@@ -551,7 +551,7 @@ public abstract class PersistentManagerB
                     Exception exception = ex.getException();
                     log.error("Exception in the Store during load: "
                               + exception);
-                    exception.printStackTrace();                        
+                    return;
                 }
             } else {
                 ids = store.keys();



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


Mime
View raw message