Browse Source

Progress on: empty catch block warning - extra lint message

tags/POST_MEMORY_CHANGES
acolyer 18 years ago
parent
commit
88d5a94de9

+ 3
- 0
weaver/src/org/aspectj/weaver/Lint.java View 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 =

+ 1
- 0
weaver/src/org/aspectj/weaver/XlintDefault.properties View File

@@ -39,3 +39,4 @@ cantFindType = error
cantFindTypeAffectingJPMatch = warning

unorderedAdviceAtShadow=ignore
swallowedExceptionInCatchBlock=warning

Loading…
Cancel
Save