diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-18 15:00:50 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-18 15:00:50 +0000 |
commit | c6c018d94eb6447b0fa3ebabd8e488234a328c07 (patch) | |
tree | f41b2376bd9237d1b6bf74cf8cf1ca755d75b3e3 /sca-java-2.x/trunk/modules/assembly/src/main | |
parent | a5bbc3e0ccad68f90f41fb5742ececd278a5d524 (diff) |
Add missing audit text
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@986720 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/assembly/src/main')
-rw-r--r-- | sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/interfacedef/impl/InterfaceContractMapperImpl.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/interfacedef/impl/InterfaceContractMapperImpl.java b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/interfacedef/impl/InterfaceContractMapperImpl.java index 6c67e497e0..3dedb5e62c 100644 --- a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/interfacedef/impl/InterfaceContractMapperImpl.java +++ b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/interfacedef/impl/InterfaceContractMapperImpl.java @@ -398,6 +398,8 @@ public class InterfaceContractMapperImpl implements InterfaceContractMapper { Operation targetOperation = map(target.getInterface(), operation); if (targetOperation == null) { if (!silent) { + audit.append("Operation " + operation.getName()+ " not found on target"); + audit.appendSeperator(); throw new IncompatibleInterfaceContractException( "Operation " + operation.getName() + " not found on target", source, target); @@ -411,6 +413,8 @@ public class InterfaceContractMapperImpl implements InterfaceContractMapper { audit = new Audit(); if (!isCompatible(operation, targetOperation, Compatibility.SUBSET, true, audit)) { + audit.append("Operations called " + operation.getName()+ " are not compatible"); + audit.appendSeperator(); throw new IncompatibleInterfaceContractException( "Operations called " + operation.getName() + " are not compatible " + audit, source, |