You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ek...@apache.org on 2005/11/10 22:25:52 UTC
svn commit: r332375 - in
/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator:
AptControlInterface.java apt/strings.properties
Author: ekoneil
Date: Thu Nov 10 13:25:49 2005
New Revision: 332375
URL: http://svn.apache.org/viewcvs?rev=332375&view=rev
Log:
Fix for BEEHIVE-889 on behalf of Chad.
BB: self
Test: Controls pass
Modified:
beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/AptControlInterface.java
beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/apt/strings.properties
Modified: beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/AptControlInterface.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/AptControlInterface.java?rev=332375&r1=332374&r2=332375&view=diff
==============================================================================
--- beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/AptControlInterface.java (original)
+++ beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/AptControlInterface.java Thu Nov 10 13:25:49 2005
@@ -952,9 +952,8 @@
checker.check( _intfDecl, _ap.getAnnotationProcessorEnvironment() );
}
}
- catch ( Exception e )
- {
- e.printStackTrace();
+ catch ( Exception e ) {
+ _ap.printError( intfDecl, "control.interface.checker.load.failed", intfDecl.getSimpleName(), checkerName );
}
}
}
Modified: beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/apt/strings.properties
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/apt/strings.properties?rev=332375&r1=332374&r2=332375&view=diff
==============================================================================
--- beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/apt/strings.properties (original)
+++ beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/apt/strings.properties Thu Nov 10 13:25:49 2005
@@ -126,6 +126,10 @@
control.interface.illegal.checker=\
Control interface {0} specifies a checker class {1} that doesn't implement ControlChecker.
+control.interface.checker.load.failed=\
+Control interface {0} specifies a checker class {1} which cannot be loaded. Verify that the \
+apt -classpath value is correct.
+
control.implementation.badclass=\
The ControlImplementation annotation may only be used on a Java class.