You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by rv...@apache.org on 2013/06/12 01:55:10 UTC
svn commit: r1492012 -
/jena/Experimental/jena-jdbc/jena-jdbc-core/src/main/java/org/apache/jena/jdbc/postprocessing/ResultsPostProcessor.java
Author: rvesse
Date: Tue Jun 11 23:55:10 2013
New Revision: 1492012
URL: http://svn.apache.org/r1492012
Log:
Add required throws declarations
Modified:
jena/Experimental/jena-jdbc/jena-jdbc-core/src/main/java/org/apache/jena/jdbc/postprocessing/ResultsPostProcessor.java
Modified: jena/Experimental/jena-jdbc/jena-jdbc-core/src/main/java/org/apache/jena/jdbc/postprocessing/ResultsPostProcessor.java
URL: http://svn.apache.org/viewvc/jena/Experimental/jena-jdbc/jena-jdbc-core/src/main/java/org/apache/jena/jdbc/postprocessing/ResultsPostProcessor.java?rev=1492012&r1=1492011&r2=1492012&view=diff
==============================================================================
--- jena/Experimental/jena-jdbc/jena-jdbc-core/src/main/java/org/apache/jena/jdbc/postprocessing/ResultsPostProcessor.java (original)
+++ jena/Experimental/jena-jdbc/jena-jdbc-core/src/main/java/org/apache/jena/jdbc/postprocessing/ResultsPostProcessor.java Tue Jun 11 23:55:10 2013
@@ -64,8 +64,10 @@ public interface ResultsPostProcessor {
* @param results
* Incoming results
* @return Processed results
+ * @throws SQLException
+ * Thrown if there is a problem applying the post-processor
*/
- public ResultSet postProcessResults(ResultSet results);
+ public ResultSet postProcessResults(ResultSet results) throws SQLException;
/**
* Post-process incoming CONSTRUCT/DESCRIBE results
@@ -79,8 +81,10 @@ public interface ResultsPostProcessor {
* @param triples
* Incoming results
* @return Processed results
+ * @throws SQLException
+ * Thrown if there is a problem applying the post-processor
*/
- public Iterator<Triple> postProcessResults(Iterator<Triple> triples);
+ public Iterator<Triple> postProcessResults(Iterator<Triple> triples) throws SQLException;
/**
* Post-process incoming ASK results
@@ -94,8 +98,10 @@ public interface ResultsPostProcessor {
* @param result
* Incoming results
* @return Processed results
+ * @throws SQLException
+ * Thrown if there is a problem applying the post-processor
*/
- public boolean postProcessResults(boolean result);
+ public boolean postProcessResults(boolean result) throws SQLException;
/**
* Post-process SELECT results metadata
@@ -111,8 +117,10 @@ public interface ResultsPostProcessor {
* @param metadata
* Calculated metadata
* @return Processed metadata
+ * @throws SQLException
+ * Thrown if there is a problem applying the post-processor
*/
- public SelectResultsMetadata postProcessResultsMetadata(SelectResultsMetadata metadata);
+ public SelectResultsMetadata postProcessResultsMetadata(SelectResultsMetadata metadata) throws SQLException;
/**
* Post-process CONSTRUCT/DESCRIBE results metadata
@@ -128,8 +136,10 @@ public interface ResultsPostProcessor {
* @param metadata
* Calculated metadata
* @return Processed metadata
+ * @throws SQLException
+ * Thrown if there is a problem applying the post-processor
*/
- public TripleResultsMetadata postProcessResultsMetadata(TripleResultsMetadata metadata);
+ public TripleResultsMetadata postProcessResultsMetadata(TripleResultsMetadata metadata) throws SQLException;
/**
* Post-process ASK results metadata
@@ -145,6 +155,8 @@ public interface ResultsPostProcessor {
* @param metadata
* Calculated metadata
* @return Processed metadata
+ * @throws SQLException
+ * Thrown if there is a problem applying the post-processor
*/
- public AskResultsMetadata postProcessResultsMetadata(AskResultsMetadata metadata);
+ public AskResultsMetadata postProcessResultsMetadata(AskResultsMetadata metadata) throws SQLException;
}