]> source.dussan.org Git - aspectj.git/commitdiff
Suggested error message improvement by Andrew.
authoraclement <aclement>
Thu, 12 May 2005 10:07:13 +0000 (10:07 +0000)
committeraclement <aclement>
Thu, 12 May 2005 10:07:13 +0000 (10:07 +0000)
weaver/src/org/aspectj/weaver/patterns/PatternParser.java

index ea0be3fe2988498db5960bd53e8d2fa99796b0dd..c620159f597c0bf63d87f589192aa0e2ba42bdf1 100644 (file)
@@ -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() {