jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1487006 - in /jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/servlets: ResponseModel.java ResponseResultSet.java
Date Tue, 28 May 2013 17:05:36 GMT
Author: andy
Date: Tue May 28 17:05:36 2013
New Revision: 1487006

URL: http://svn.apache.org/r1487006
Log:
Better message for 500 responses.

Modified:
    jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/servlets/ResponseModel.java
    jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/servlets/ResponseResultSet.java

Modified: jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/servlets/ResponseModel.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/servlets/ResponseModel.java?rev=1487006&r1=1487005&r2=1487006&view=diff
==============================================================================
--- jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/servlets/ResponseModel.java
(original)
+++ jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/servlets/ResponseModel.java
Tue May 28 17:05:36 2013
@@ -131,7 +131,7 @@ public class ResponseModel
         }
         catch (Exception ex) { 
             slog.info("Exception while writing the response model: "+ex.getMessage(), ex)
;
-            errorOccurred(ex) ;
+            errorOccurred("Exception while writing the response model: "+ex.getMessage(),
ex) ;
         }
     }
 }

Modified: jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/servlets/ResponseResultSet.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/servlets/ResponseResultSet.java?rev=1487006&r1=1487005&r2=1487006&view=diff
==============================================================================
--- jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/servlets/ResponseResultSet.java
(original)
+++ jena/trunk/jena-fuseki/src/main/java/org/apache/jena/fuseki/servlets/ResponseResultSet.java
Tue May 28 17:05:36 2013
@@ -72,7 +72,6 @@ public class ResponseResultSet
         ResponseOps.put(shortNamesResultSet, contentOutputCSV,    WebContent.contentTypeTextCSV)
;
         ResponseOps.put(shortNamesResultSet, contentOutputTSV,    WebContent.contentTypeTextTSV)
;
     }
-
     
     interface OutputContent { void output(ServletOutputStream out) ; }
 
@@ -295,7 +294,6 @@ public class ResponseResultSet
             }
         // Includes client gone.
         } catch (IOException ex) 
- 
         { errorOccurred(ex) ; }
         // Do not call httpResponse.flushBuffer(); here - Jetty closes the stream if it is
a gzip stream
         // then the JSON callback closing details can't be added. 



Mime
View raw message