diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-04-13 19:07:59 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-04-13 19:07:59 +0000 |
commit | 3a55b59e1e1bb95a5eb9741aa684806505728363 (patch) | |
tree | f1f5331bfe6908d1d9aa0a18557199ebeb30a7c6 /java/sca/modules | |
parent | 8c4356343c60391e2f75c80a05b0c411b1eb4294 (diff) |
Add exception check
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@764566 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | java/sca/modules/workspace-impl/src/main/java/org/apache/tuscany/sca/workspace/processor/impl/ContributionContentProcessor.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/sca/modules/workspace-impl/src/main/java/org/apache/tuscany/sca/workspace/processor/impl/ContributionContentProcessor.java b/java/sca/modules/workspace-impl/src/main/java/org/apache/tuscany/sca/workspace/processor/impl/ContributionContentProcessor.java index fd645132a1..9a16553460 100644 --- a/java/sca/modules/workspace-impl/src/main/java/org/apache/tuscany/sca/workspace/processor/impl/ContributionContentProcessor.java +++ b/java/sca/modules/workspace-impl/src/main/java/org/apache/tuscany/sca/workspace/processor/impl/ContributionContentProcessor.java @@ -199,8 +199,8 @@ public class ContributionContentProcessor implements URLArtifactProcessor<Contri if (model != null) { try { artifactProcessor.resolve(model, contributionResolver); - } catch (Exception e) { - //FIXME this shouldn't happen + } catch (Throwable e) { + throw new ContributionResolveException(e); } } } |