diff options
Diffstat (limited to 'java/sca')
-rw-r--r-- | java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/CompositeDocumentProcessor.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/CompositeDocumentProcessor.java b/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/CompositeDocumentProcessor.java index 204022042f..183d6f3471 100644 --- a/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/CompositeDocumentProcessor.java +++ b/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/sca/assembly/xml/CompositeDocumentProcessor.java @@ -87,7 +87,7 @@ public class CompositeDocumentProcessor extends BaseAssemblyProcessor implements connection.setUseCaches(false); scdlStream = connection.getInputStream(); } catch (IOException e) { - ContributionReadException ce = new ContributionReadException(e); + ContributionReadException ce = new ContributionReadException("Exception reading " + uri, e); error("ContributionReadException", url, ce); throw ce; } @@ -112,11 +112,11 @@ public class CompositeDocumentProcessor extends BaseAssemblyProcessor implements scdlStream = new ByteArrayInputStream(transformedArtifactContent); } } catch ( IOException e ) { - ContributionReadException ce = new ContributionReadException(e); + ContributionReadException ce = new ContributionReadException("Exception reading " + uri, e); error("ContributionReadException", scdlStream, ce); throw ce; } catch ( Exception e ) { - ContributionReadException ce = new ContributionReadException(e); + ContributionReadException ce = new ContributionReadException("Exception reading " + uri, e); error("ContributionReadException", scdlStream, ce); //throw ce; } @@ -134,7 +134,7 @@ public class CompositeDocumentProcessor extends BaseAssemblyProcessor implements return composite; } catch (XMLStreamException e) { - ContributionReadException ce = new ContributionReadException(e); + ContributionReadException ce = new ContributionReadException("Exception reading " + uri, e); error("ContributionReadException", inputFactory, ce); throw ce; } finally { |