From 86e8a116cc9ac6d8aebf75c829f6b5a27806b210 Mon Sep 17 00:00:00 2001 From: kelvingoodson Date: Mon, 17 May 2010 12:48:52 +0000 Subject: expected message and msg definition catchup git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@945120 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca/implementation/java/introspect/impl/ServiceProcessor.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany') 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 names = new HashSet(); 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()); } } } -- cgit v1.2.3