]> source.dussan.org Git - aspectj.git/commitdiff
Progress on: empty catch block warning - extra lint message
authoracolyer <acolyer>
Fri, 10 Feb 2006 17:58:12 +0000 (17:58 +0000)
committeracolyer <acolyer>
Fri, 10 Feb 2006 17:58:12 +0000 (17:58 +0000)
weaver/src/org/aspectj/weaver/Lint.java
weaver/src/org/aspectj/weaver/XlintDefault.properties

index b1c4439e9c3fe43aa3842ed9df3a74571623bdb2..2ca50ad85d302cf7dbf09bd39104adbeaf13cb6b 100644 (file)
@@ -111,6 +111,9 @@ public class Lint {
        public final Kind unorderedAdviceAtShadow =
                new Kind("unorderedAdviceAtShadow","at this shadow {0} no precedence is specified between advice applying from aspect {1} and aspect {2}");
        
+       public final Kind swallowedExceptionInCatchBlock = 
+               new Kind("swallowedExceptionInCatchBlock","exception swallowed in catch block");
+       
        // there are a lot of messages in the cant find type family - I'm defining an umbrella lint warning that
        // allows a user to control their severity (for e.g. ltw or binary weaving)
        public final Kind cantFindType =
index 2fc6d25d26e503fbda4d7f338973abe9809dc679..bef40796931382c264de5d0deba73125f42eaae7 100644 (file)
@@ -39,3 +39,4 @@ cantFindType = error
 cantFindTypeAffectingJPMatch = warning
 
 unorderedAdviceAtShadow=ignore
+swallowedExceptionInCatchBlock=warning