summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/assembly/src/main
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/interfacedef/OverloadedOperationException.java2
-rw-r--r--sca-java-2.x/trunk/modules/assembly/src/main/resources/org/apache/tuscany/sca/assembly/builder/assembly-validation-messages.properties4
2 files changed, 3 insertions, 3 deletions
diff --git a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/interfacedef/OverloadedOperationException.java b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/interfacedef/OverloadedOperationException.java
index 9eea074ae2..92ac0850e7 100644
--- a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/interfacedef/OverloadedOperationException.java
+++ b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/interfacedef/OverloadedOperationException.java
@@ -33,7 +33,7 @@ public class OverloadedOperationException extends InvalidInterfaceException {
public OverloadedOperationException(Method operation) {
super(operation == null ?
- null : "Cannot overload operation " + operation.getName()
+ null : "[JCA20001] Cannot overload operation " + operation.getName()
+ " on " + operation.getDeclaringClass().getName()
+ " as it is a @Remotable interface");
this.operation = operation;
diff --git a/sca-java-2.x/trunk/modules/assembly/src/main/resources/org/apache/tuscany/sca/assembly/builder/assembly-validation-messages.properties b/sca-java-2.x/trunk/modules/assembly/src/main/resources/org/apache/tuscany/sca/assembly/builder/assembly-validation-messages.properties
index c529a518d6..8548effd44 100644
--- a/sca-java-2.x/trunk/modules/assembly/src/main/resources/org/apache/tuscany/sca/assembly/builder/assembly-validation-messages.properties
+++ b/sca-java-2.x/trunk/modules/assembly/src/main/resources/org/apache/tuscany/sca/assembly/builder/assembly-validation-messages.properties
@@ -37,8 +37,8 @@ ReferenceIncompatibleMultiplicity = [ASM50009] Component reference multiplicity
ReferenceIncompatibleInterface = Incompatible interfaces on component reference and target: Composite = {0} Reference = {1} Service = {2}
ReferencePromotionIncompatibleInterface = Promoted reference interface incompatible with promoting reference: Promoting interface = {0} Promoted = {1}
ReferencePromotionInterfacesNotEqual = Peer promoted references not equal: First interface = {0} second interface = {1}
-ReferenceIncompatibleComponentInterface = Component reference interface incompatible with implementation reference interface: Component = {0} Reference = {1} {2}
-ServiceIncompatibleComponentInterface = [ASM50004] Component service interface incompatible with implementation service interface: Component = {0} Service = {1} {2}
+ReferenceIncompatibleComponentInterface = [JCA30001,JCA30002,JCA30003,JCA90046] Component reference interface incompatible with implementation reference interface: Component = {0} Reference = {1} {2}
+ServiceIncompatibleComponentInterface = [ASM50004,JCA30002] Component service interface incompatible with implementation service interface: Component = {0} Service = {1} {2}
MultipleBindingsForService = Multiple bindings with the same name for a service: Service = {0} Binding name = {1}
MultipleBindingsForReference = Multiple bindings with the same name for a reference: Reference = {0} Binding name = {1}
ReferenceWithoutTargets = [ASM60033] No targets for reference: Composite = {0} Reference = {1}