private void checkAndThrowExceptionWhenFeatureDisabled() throws YARNFeatureNotEnabledException { if (!profileEnabled) { throw new YARNFeatureNotEnabledException(FEATURE_NOT_ENABLED_MSG); } }
private void checkAndThrowExceptionWhenFeatureDisabled() throws YARNFeatureNotEnabledException { if (!profileEnabled) { throw new YARNFeatureNotEnabledException(FEATURE_NOT_ENABLED_MSG); } }