]> source.dussan.org Git - aspectj.git/commitdiff
better error
authoraclement <aclement>
Fri, 20 Jun 2008 17:14:43 +0000 (17:14 +0000)
committeraclement <aclement>
Fri, 20 Jun 2008 17:14:43 +0000 (17:14 +0000)
weaver/src/org/aspectj/weaver/MemberKind.java

index 6cd28e7910f13b9147aee1be33f6f8ea64603d1f..ae3f42cea110d49afba6e7ba564b8a3d5cdbe1fa 100644 (file)
@@ -32,6 +32,6 @@ public class MemberKind extends TypeSafeEnum {
             case 8: return Member.MONITORENTER;
             case 9: return Member.MONITOREXIT;
         }
-        throw new BCException("weird kind " + key);
+        throw new BCException("Unexpected memberkind, should be (1-9) but was " + key);
     }
 }
\ No newline at end of file