abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r619128 - /incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/AbstractProvider.java
Date Wed, 06 Feb 2008 19:58:30 GMT
Author: jmsnell
Date: Wed Feb  6 11:58:29 2008
New Revision: 619128

URL: http://svn.apache.org/viewvc?rev=619128&view=rev
Log:
ensure that response is not null when Transactional.end is called following an error

see https://issues.apache.org/jira/browse/ABDERA-87

Modified:
    incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/AbstractProvider.java

Modified: incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/AbstractProvider.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/AbstractProvider.java?rev=619128&r1=619127&r2=619128&view=diff
==============================================================================
--- incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/AbstractProvider.java
(original)
+++ incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/AbstractProvider.java
Wed Feb  6 11:58:29 2008
@@ -176,7 +176,8 @@
       } catch (Throwable e) {
         if (transaction != null) 
           transaction.compensate(request,e);
-        return ProviderHelper.servererror(request, e);
+        response = ProviderHelper.servererror(request, e);
+        return response;
       } finally {
         if (transaction != null) 
           transaction.end(request, response);



Mime
View raw message