diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-04 09:53:37 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-04 09:53:37 +0000 |
commit | e8c8f72b52332069dc76d2019761772d83f9697a (patch) | |
tree | a65d9227641458c599b6e05867171b96932084b7 /sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany | |
parent | ec53f38f059f0808f622586a50c7e771c655800e (diff) |
Make error more meaningful but the message really needs to be separated into a properties file
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@940787 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/ConstructorProcessor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorProcessor.java b/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorProcessor.java index 68f0b46f2e..0b8923d46c 100644 --- a/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorProcessor.java +++ b/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ConstructorProcessor.java @@ -84,7 +84,7 @@ public class ConstructorProcessor extends BaseJavaClassVisitor { for (JavaParameterImpl p : parameters) { if (!hasAnnotation(p)) { - throw new InvalidConstructorException("JCA90003 constructor parameters must have @Property or @Reference annotation"); + throw new InvalidConstructorException("JCA90003 constructor parameters for class " + type.getName() + " must have @Property or @Reference annotation"); } } |