summaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2005-05-12 10:07:13 +0000
committeraclement <aclement>2005-05-12 10:07:13 +0000
commit6f27813f57cadc4729e9c501233a1c40520b2f43 (patch)
treeb0ab3122b47663724dc6307bb61798b071bfe4ab /weaver
parent0cb826c6a5d47a12eb03bf1751208c0b9a7b23a3 (diff)
downloadaspectj-6f27813f57cadc4729e9c501233a1c40520b2f43.tar.gz
aspectj-6f27813f57cadc4729e9c501233a1c40520b2f43.zip
Suggested error message improvement by Andrew.
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/patterns/PatternParser.java2
1 files changed, 1 insertions, 1 deletions
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() {