From 6f27813f57cadc4729e9c501233a1c40520b2f43 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 12 May 2005 10:07:13 +0000 Subject: Suggested error message improvement by Andrew. --- weaver/src/org/aspectj/weaver/patterns/PatternParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'weaver') 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() { -- cgit v1.2.3