[jboss-cvs] JBossAS SVN: r81733 - projects/aop/trunk/aop/src/main/org/jboss/aop/instrument.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Nov 27 10:25:09 EST 2008
Author: kabir.khan at jboss.com
Date: 2008-11-27 10:25:09 -0500 (Thu, 27 Nov 2008)
New Revision: 81733
Modified:
projects/aop/trunk/aop/src/main/org/jboss/aop/instrument/Instrumentor.java
Log:
[JBAOP-681] Improve error message
Modified: projects/aop/trunk/aop/src/main/org/jboss/aop/instrument/Instrumentor.java
===================================================================
--- projects/aop/trunk/aop/src/main/org/jboss/aop/instrument/Instrumentor.java 2008-11-27 14:21:57 UTC (rev 81732)
+++ projects/aop/trunk/aop/src/main/org/jboss/aop/instrument/Instrumentor.java 2008-11-27 15:25:09 UTC (rev 81733)
@@ -651,7 +651,7 @@
{
if (AspectManager.suppressReferenceErrors)
{
- System.err.println("[warn] Could not find class " + ref + " that " + clazz.getName() + " references. It may not be in your classpath and you may not be getting field and constructor weaving for this class.");
+ System.err.println("[warn] Could not find class " + ref + " (or one of its implemented interfaces) that " + clazz.getName() + " references. It may not be in your classpath and you may not be getting field and constructor weaving for this class.");
if (AspectManager.verbose) e.printStackTrace();
continue;
}
@@ -705,7 +705,7 @@
{
if (ref != null)
{
- throw new TransformationException("Failed to aspectize class " + clazz.getName() + ". Could not find class it references " + ref + " It may not be in your classpath and you may not be getting field and constructor weaving for this class.");
+ throw new TransformationException("Failed to aspectize class " + clazz.getName() + ". Could not find class it references " + ref + " (or one of its implemented interfaces). It may not be in your classpath and you may not be getting field and constructor weaving for this class.");
}
throw ex;
}
More information about the jboss-cvs-commits
mailing list