aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--weaver/src/org/aspectj/weaver/AjAttribute.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/AjAttribute.java b/weaver/src/org/aspectj/weaver/AjAttribute.java
index 413c754f2..47e5fbf0b 100644
--- a/weaver/src/org/aspectj/weaver/AjAttribute.java
+++ b/weaver/src/org/aspectj/weaver/AjAttribute.java
@@ -123,8 +123,10 @@ public abstract class AjAttribute {
w.getMessageHandler().handleMessage(MessageUtil.warn("unknown attribute encountered "+name));
return null;
}
+ } catch (BCException e) {
+ throw new BCException("malformed " + name + " attribute (length:"+bytes.length+")" + e );
} catch (IOException e) {
- throw new BCException("malformed " + name + " attribute " + e);
+ throw new BCException("malformed " + name + " attribute (length:"+bytes.length+")" + e );
}
}