diff options
author | aclement <aclement> | 2005-10-14 08:19:57 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-10-14 08:19:57 +0000 |
commit | bddd3ad903c3e4ecf20272def9af2c979035a2dd (patch) | |
tree | e442912114f62625db0f24c319afe808a80805e0 /weaver | |
parent | 4aad0473b4681fab8e2f73515c48fc30943fc847 (diff) | |
download | aspectj-bddd3ad903c3e4ecf20272def9af2c979035a2dd.tar.gz aspectj-bddd3ad903c3e4ecf20272def9af2c979035a2dd.zip |
pr112529: better diagnostics (I think it'll still fail tho...)
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java index 1e826d6b4..70db78792 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java @@ -1016,7 +1016,7 @@ public class BcelWeaver implements IWeaver { if (theType.isAspect()) { BcelObjectType classType = BcelWorld.getBcelObjectType(theType); if (classType==null) { - throw new BCException("Can't find bcel delegate for "+className); + throw new BCException("Can't find bcel delegate for "+className+" type="+theType.getClass()); } weaveAndNotify(classFile, classType,requestor); wovenClassNames.add(className); @@ -1034,7 +1034,7 @@ public class BcelWeaver implements IWeaver { if (!theType.isAspect()) { BcelObjectType classType = BcelWorld.getBcelObjectType(theType); if (classType==null) { - throw new BCException("Can't find bcel delegate for "+className); + throw new BCException("Can't find bcel delegate for "+className+" type="+theType.getClass()); } weaveAndNotify(classFile, classType, requestor); wovenClassNames.add(className); |