All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.kemitix.checkstyle.ruleset.builder.CheckstyleSourceLoadException Maven / Gradle / Ivy

package net.kemitix.checkstyle.ruleset.builder;

import java.io.IOException;

/**
 * Raised when there is an error scanning for check classes.
 *
 * @author Paul Campbell ([email protected]).
 */
public class CheckstyleSourceLoadException extends RuntimeException {

    /**
     * Constructor.
     *
     * @param basePackage the base package classes were being loaded from
     * @param cause       the cause
     */
    public CheckstyleSourceLoadException(final String basePackage, final IOException cause) {
        super("Error loading checkstyle rules from package: " + basePackage, cause);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy