james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r179890 - /james/server/trunk/src/java/org/apache/james/transport/mailets/RemoteDelivery.java
Date Fri, 03 Jun 2005 21:04:40 GMT
Author: noel
Date: Fri Jun  3 14:04:39 2005
New Revision: 179890

URL: http://svn.apache.org/viewcvs?rev=179890&view=rev
Log:
caution about changing this code

Modified:
    james/server/trunk/src/java/org/apache/james/transport/mailets/RemoteDelivery.java

Modified: james/server/trunk/src/java/org/apache/james/transport/mailets/RemoteDelivery.java
URL: http://svn.apache.org/viewcvs/james/server/trunk/src/java/org/apache/james/transport/mailets/RemoteDelivery.java?rev=179890&r1=179889&r2=179890&view=diff
==============================================================================
--- james/server/trunk/src/java/org/apache/james/transport/mailets/RemoteDelivery.java (original)
+++ james/server/trunk/src/java/org/apache/james/transport/mailets/RemoteDelivery.java Fri
Jun  3 14:04:39 2005
@@ -903,6 +903,9 @@
                     } catch (Exception e) {
                         // Prevent unexpected exceptions from causing looping by removing
                         // message from outgoing.
+			// DO NOT CHNANGE THIS to catch Error!  For example, if there were an OutOfMemory condition
+                        // caused because something else in the server was abusing memory,
we would not want to
+                        // start purging the outgoing spool!
                         outgoing.remove(key);
                         throw e;
                     }



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


Mime
View raw message