QueryParseException.java :  » RSS-RDF » informa » de » nava » informa » search » Java Open Source

Java Open Source » RSS RDF » informa 
informa » de » nava » informa » search » QueryParseException.java
//
// Informa -- RSS Library for Java
// Copyright (c) 2002 by Niko Schmuck
//
// Niko Schmuck
// http://sourceforge.net/projects/informa
// mailto:niko_schmuck@users.sourceforge.net
//
// This library is free software.
//
// You may redistribute it and/or modify it under the terms of the GNU
// Lesser General Public License as published by the Free Software Foundation.
//
// Version 2.1 of the license should be included with this distribution in
// the file LICENSE. If the license is not included with this distribution,
// you may find a copy at the FSF web site at 'www.gnu.org' or 'www.fsf.org',
// or you may write to the Free Software Foundation, 675 Mass Ave, Cambridge, 
// MA 02139 USA.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied waranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Lesser General Public License for more details.
//


// $Id: QueryParseException.java,v 1.3 2005/09/27 22:17:08 niko_schmuck Exp $

package de.nava.informa.search;

/**
 * An exception thrown in the case a given query cannot be parsed by
 * the underlying full-text engine.
 *
 * @author Niko Schmuck (niko@nava.de) 
 */
public class QueryParseException extends Exception {

  private static final long serialVersionUID = 1848361933889930567L;

  public QueryParseException() {
    super();
  }

  public QueryParseException(String message) {
    super(message);
  }

  public QueryParseException(Throwable cause) {
    // Java 1.3 does not support this constructor
    super("QueryParseException: " + cause.getMessage());
  }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.