summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-2.0-M3/modules/core/src/main/java
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-06-29 22:10:28 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-06-29 22:10:28 +0000
commit1fd00705939747143753aeae8c8aa084e3d9f800 (patch)
tree9ecb2c48a911665549388bbcba2069b6f020c53e /branches/sca-java-2.0-M3/modules/core/src/main/java
parent1b4728bc676d02af0ddb68754167028cd5ab5773 (diff)
Merge changes from trunk to bring up the distributed osgi samples with Tuscany distribution
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@789466 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-2.0-M3/modules/core/src/main/java')
-rw-r--r--branches/sca-java-2.0-M3/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointSerializerImpl.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/branches/sca-java-2.0-M3/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointSerializerImpl.java b/branches/sca-java-2.0-M3/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointSerializerImpl.java
index cd86fd21aa..b9eb6c117b 100644
--- a/branches/sca-java-2.0-M3/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointSerializerImpl.java
+++ b/branches/sca-java-2.0-M3/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/EndpointSerializerImpl.java
@@ -61,7 +61,7 @@ public class EndpointSerializerImpl implements EndpointSerializer {
endpoint.setBinding(result.getBinding());
endpoint.setInterfaceContract(result.getService().getInterfaceContract());
} catch (Exception e) {
- throw new IOException(e);
+ throw new IOException(e.getMessage());
}
}
@@ -75,7 +75,7 @@ public class EndpointSerializerImpl implements EndpointSerializer {
writer.close();
return sw.toString();
} catch (Exception e) {
- throw new IOException(e);
+ throw new IOException(e.getMessage());
}
}
@@ -89,7 +89,7 @@ public class EndpointSerializerImpl implements EndpointSerializer {
endpointReference.setBinding(result.getBinding());
endpointReference.setInterfaceContract(result.getReference().getInterfaceContract());
} catch (Exception e) {
- throw new IOException(e);
+ throw new IOException(e.getMessage());
}
}
@@ -102,7 +102,7 @@ public class EndpointSerializerImpl implements EndpointSerializer {
writer.close();
return sw.toString();
} catch (Exception e) {
- throw new IOException(e);
+ throw new IOException(e.getMessage());
}
}
} \ No newline at end of file