@Override
    @SuppressWarnings("PMD.PreserveStackTrace")
    protected void performValidation(final MavenProject project, final EnforcerRuleHelper helper)
            throws RuleFailureException {
    """
	Delegate method, implemented by concrete subclasses.
	
	@param project The active MavenProject.
	@param helper  The EnforcerRuleHelper instance, from which the MavenProject has been retrieved.
	@throws se.jguru.nazgul.tools.codestyle.enforcer.rules.RuleFailureException If the enforcer rule
	was not satisfied.
    """

        try {
            ProjectType.getProjectType(project);
        } catch (IllegalArgumentException e) {
            throw new RuleFailureException(e.getMessage());
        }
    }
@Override
    @SuppressWarnings("PMD.PreserveStackTrace")
    protected void performValidation(final MavenProject project, final EnforcerRuleHelper helper)
            throws RuleFailureException {

        try {
            ProjectType.getProjectType(project);
        } catch (IllegalArgumentException e) {
            throw new RuleFailureException(e.getMessage());
        }
    }
@ Override @ SuppressWarnings ( "PMD.PreserveStackTrace" ) protected void performValidation ( final MavenProject project , final EnforcerRuleHelper helper ) throws RuleFailureException { try { ProjectType . getProjectType ( project ) ; } catch ( IllegalArgumentException e ) { throw new RuleFailureException ( e . getMessage ( ) ) ; } }
Delegate method, implemented by concrete subclasses.

@param project The active MavenProject.
@param helper  The EnforcerRuleHelper instance, from which the MavenProject has been retrieved.
@throws se.jguru.nazgul.tools.codestyle.enforcer.rules.RuleFailureException If the enforcer rule
was not satisfied.
Delegate method implemented by concrete subclasses .