/*
 * LensKit, a reference implementation of recommender algorithms.
 * Copyright 2010-2011 Regents of the University of Minnesota
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program; if not, write to the Free Software Foundation, Inc., 51
 * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 */
package org.grouplens.lenskit;

/**
 * @author Michael Ekstrand <ekstrand@cs.umn.edu>
 *
 */
public abstract class AbstractRecommenderService implements RecommenderService {

    /* (non-Javadoc)
     * @see org.grouplens.lenskit.RecommenderService#getRatingRecommender()
     */
    @Override
    public RatingRecommender getRatingRecommender() {
        throw new IncompatibleRecommenderException(
                getClass().getName() + " does not support rating-based recommendation");
    }

    /* (non-Javadoc)
     * @see org.grouplens.lenskit.RecommenderService#getRatingPredictor()
     */
    @Override
    public RatingPredictor getRatingPredictor() {
        throw new IncompatibleRecommenderException(
                getClass().getName() + " does not support rating prediction");
    }

    /* (non-Javadoc)
     * @see org.grouplens.lenskit.RecommenderService#getBasketRecommender()
     */
    @Override
    public BasketRecommender getBasketRecommender() {
        throw new IncompatibleRecommenderException(
                getClass().getName() + " does not support basket-based recommendation");
    }

}

@@ -893,16 +893,95 @@
 t;%0A%0A/**%0A
+ * Base receommender service that does not support any recommender interfaces.%0A
  * @auth

Enhance AbstractRecommenderService docs