当前位置: 首页>>代码示例>>Java>>正文


Java FilterException类代码示例

本文整理汇总了Java中edu.umd.cs.findbugs.filter.FilterException的典型用法代码示例。如果您正苦于以下问题:Java FilterException类的具体用法?Java FilterException怎么用?Java FilterException使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


FilterException类属于edu.umd.cs.findbugs.filter包,在下文中一共展示了FilterException类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: addFilter

import edu.umd.cs.findbugs.filter.FilterException; //导入依赖的package包/类
public void addFilter(String filterFileName, boolean include) throws IOException, FilterException {
    bugReporter = FindBugs.configureFilter(bugReporter, filterFileName, include);
}
 
开发者ID:ytus,项目名称:findbugs-all-the-bugs,代码行数:4,代码来源:FindBugs2.java

示例2: addFilter

import edu.umd.cs.findbugs.filter.FilterException; //导入依赖的package包/类
@Override
public void addFilter(String filterFileName, boolean include) throws IOException, FilterException {
    bugReporter = FindBugs.configureFilter(bugReporter, filterFileName, include);
}
 
开发者ID:OpenNTF,项目名称:FindBug-for-Domino-Designer,代码行数:5,代码来源:FindBugs2.java

示例3: configureFilter

import edu.umd.cs.findbugs.filter.FilterException; //导入依赖的package包/类
/**
 * Configure the (bug instance) Filter for the given DelegatingBugReporter.
 *
 * @param bugReporter
 *            a DelegatingBugReporter
 * @param filterFileName
 *            filter file name
 * @param include
 *            true if the filter is an include filter, false if it's an
 *            exclude filter
 * @throws java.io.IOException
 * @throws edu.umd.cs.findbugs.filter.FilterException
 */
public static BugReporter configureFilter(BugReporter bugReporter, String filterFileName, boolean include)
        throws IOException, FilterException {
    Filter filter = new Filter(filterFileName);
    return new FilterBugReporter(bugReporter, filter, include);

}
 
开发者ID:ytus,项目名称:findbugs-all-the-bugs,代码行数:20,代码来源:FindBugs.java

示例4: addFilter

import edu.umd.cs.findbugs.filter.FilterException; //导入依赖的package包/类
/**
 * Set filter of bug instances to include or exclude.
 * 
 * @param filterFileName
 *            the name of the filter file
 * @param include
 *            true if the filter specifies bug instances to include, false
 *            if it specifies bug instances to exclude
 */
public void addFilter(String filterFileName, boolean include) throws IOException, FilterException;
 
开发者ID:ytus,项目名称:findbugs-all-the-bugs,代码行数:11,代码来源:IFindBugsEngine.java


注:本文中的edu.umd.cs.findbugs.filter.FilterException类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。