summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany
diff options
context:
space:
mode:
authorkelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68>2010-05-17 12:48:52 +0000
committerkelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68>2010-05-17 12:48:52 +0000
commit86e8a116cc9ac6d8aebf75c829f6b5a27806b210 (patch)
tree716fc519cfb5198dab790466b655bc941111bde8 /sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany
parent860e0ba071f069f1fff71db63343768c70b04c17 (diff)
expected message and msg definition catchup
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@945120 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany')
-rw-r--r--sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceProcessor.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceProcessor.java b/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceProcessor.java
index 99a29ece1c..d062fdc3f2 100644
--- a/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceProcessor.java
+++ b/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ServiceProcessor.java
@@ -89,7 +89,7 @@ public class ServiceProcessor extends BaseJavaClassVisitor {
}
if (annotation.value().length == 0) {
- throw new IntrospectionException("JCA90059 The array of interfaces or classes specified by the value attribute of the @Service annotation MUST contain at least one element");
+ throw new IntrospectionException("[JCA90059] The array of interfaces or classes specified by the value attribute of the @Service annotation MUST contain at least one element");
}
Class<?>[] interfaces = annotation.value();
if (annotation.names().length > 0) {
@@ -99,7 +99,7 @@ public class ServiceProcessor extends BaseJavaClassVisitor {
Set<String> names = new HashSet<String>();
names.addAll(Arrays.asList(annotation.names()));
if (names.size() != annotation.names().length) {
- throw new IntrospectionException("JCA90060 The value of each element in the @Service names array MUST be unique amongst all the other element values in the array");
+ throw new IntrospectionException("[JCA90060] The value of each element in the @Service names array MUST be unique amongst all the other element values in the array");
}
}
@@ -116,7 +116,7 @@ public class ServiceProcessor extends BaseJavaClassVisitor {
for (Class<?> iface : interfaces) {
for (Method m : iface.getMethods()) {
if (!hasMethod(m, ms)) {
- throw new IntrospectionException("[JCA90042] Implementation missing service method " + m.getName() + " service interface " + iface.getName());
+ throw new IntrospectionException("[JCA90042,JCI20002] Implementation missing service method " + m.getName() + " service interface " + iface.getName());
}
}
}