summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/scanner/ContributionScanner.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/scanner/ContributionScanner.java b/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/scanner/ContributionScanner.java
index 4e71e1ac30..b492cb2fe7 100644
--- a/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/scanner/ContributionScanner.java
+++ b/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/scanner/ContributionScanner.java
@@ -47,7 +47,7 @@ public interface ContributionScanner {
*
* @param contributionURL Contribution URL
* @return List of artifact URIs
- * @throws ContributionException
+ * @throws ContributionReadException
* @throws IOException
*/
List<String> getArtifacts(URL contributionURL) throws ContributionReadException;
@@ -60,6 +60,7 @@ public interface ContributionScanner {
*
* @param contributionURL Contribution URL
* @param artifact The relative URI for the artifact
+ * @throws ContributionReadException
* @return The artifact URL
*/
URL getArtifactURL(URL contributionURL, String artifact) throws ContributionReadException;