From: aclement Date: Mon, 11 Feb 2008 13:49:10 +0000 (+0000) Subject: extra diagnostics for weaverstate problem X-Git-Tag: V1_6_0M2~60 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=199dd5ed2d7843abb2b8a4e51ba6fd3c71ebf42a;p=aspectj.git extra diagnostics for weaverstate problem --- diff --git a/weaver/src/org/aspectj/weaver/WeaverStateInfo.java b/weaver/src/org/aspectj/weaver/WeaverStateInfo.java index 6c4dcc1df..9b10517a8 100644 --- a/weaver/src/org/aspectj/weaver/WeaverStateInfo.java +++ b/weaver/src/org/aspectj/weaver/WeaverStateInfo.java @@ -139,7 +139,7 @@ public class WeaverStateInfo { readAnyReweavableData(wsi,s); return wsi; } - throw new RuntimeException("bad WeaverState.Kind: " + b); + throw new RuntimeException("bad WeaverState.Kind: " + b+". File was :"+(context==null?"unknown":context.makeSourceLocation(0,0))); }