From: aclement Date: Thu, 12 May 2005 10:07:13 +0000 (+0000) Subject: Suggested error message improvement by Andrew. X-Git-Tag: PRE_ANDY~326 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6f27813f57cadc4729e9c501233a1c40520b2f43;p=aspectj.git Suggested error message improvement by Andrew. --- diff --git a/weaver/src/org/aspectj/weaver/patterns/PatternParser.java b/weaver/src/org/aspectj/weaver/patterns/PatternParser.java index ea0be3fe2..c620159f5 100644 --- a/weaver/src/org/aspectj/weaver/patterns/PatternParser.java +++ b/weaver/src/org/aspectj/weaver/patterns/PatternParser.java @@ -336,7 +336,7 @@ public class PatternParser { return parseWithinAnnotationPointcut(); } else if (kind.equals("withincode")) { return parseWithinCodeAnnotationPointcut(); - } throw new ParserException("@pointcut name expected, but found " + kind, t); + } throw new ParserException("pointcut name", t); } private Pointcut parseAtAnnotationPointcut() {