summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org
diff options
context:
space:
mode:
authorkelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68>2010-05-07 15:14:22 +0000
committerkelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68>2010-05-07 15:14:22 +0000
commit34a6dd82886600e219c8fb2d307b0bde4859045c (patch)
tree946d7184a532974d4378fe0dd1018f545d558ecd /sca-java-2.x/trunk/modules/implementation-java/src/main/java/org
parented921ce5b08806b65840fc5c14cca6128e4a4ca5 (diff)
add conformance statements to error message after running otests
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@942115 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/implementation-java/src/main/java/org')
-rw-r--r--sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/PolicyProcessor.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/PolicyProcessor.java b/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/PolicyProcessor.java
index 79a0adac88..15d31a5ad9 100644
--- a/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/PolicyProcessor.java
+++ b/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/PolicyProcessor.java
@@ -265,7 +265,7 @@ public class PolicyProcessor extends BaseJavaClassVisitor {
return;
}
throw new ServiceRuntimeException(
- "Field that is not an SCA reference cannot have policySet/intent annotations: " + field);
+ "[JCA70002,JCA70005] Field that is not an SCA reference cannot have policySet/intent annotations: " + field);
}
}
@@ -278,7 +278,7 @@ public class PolicyProcessor extends BaseJavaClassVisitor {
return;
}
throw new ServiceRuntimeException(
- "Constructor parameter that is not an SCA reference cannot have policySet/intent annotations: " + parameter);
+ "[JCA70002,JCA70005] Constructor parameter that is not an SCA reference cannot have policySet/intent annotations: " + parameter);
}
}
@@ -296,7 +296,7 @@ public class PolicyProcessor extends BaseJavaClassVisitor {
return;
}
throw new ServiceRuntimeException(
- "Method that is not an SCA reference cannot have policySet/intent annotations: " + method);
+ "[JCA70002,JCA70005] Method that is not an SCA reference cannot have policySet/intent annotations: " + method);
}
}