diff --git a/tools/BUILD b/tools/BUILD index 84da3a8df..f8012f971 100644 --- a/tools/BUILD +++ b/tools/BUILD @@ -36,7 +36,7 @@ java_package_configuration( "-Xep:ElementsCountedInLoop:WARN", "-Xep:EqualsHashCode:WARN", "-Xep:EqualsIncompatibleType:WARN", - "-Xep:ExpectedExceptionChecker:WARN", + "-Xep:ExpectedExceptionChecker:ERROR", "-Xep:Finally:WARN", "-Xep:FloatingPointLiteralPrecision:WARN", "-Xep:FragmentInjection:WARN",