package edu.uprm.admg.nettraveler.schema;

// JDK imports
import edu.uprm.admg.nettraveler.system.NetTravelerException;

/**
 * <code>ProjectionException</code> is thrown when an 
 * error is encountered while trying to project an attribute
 * from a group of attributes in a tuple being manipulated
 * by a DAP or a QPC.
 * 
 * 
 * @author M.Rodriguez-Martinez
 */

public class ProjectionException extends NetTravelerException{
    
    /**
	 * 
	 */
	private static final long serialVersionUID = -4942297673657522701L;
	/**
     * Constructs a <code>ProjectionException</code> with 
     * a null error message.
     */
    public ProjectionException(){
	super();
    }

    /**
     * Constructs a <code>ProjectionException</code> with
     * a specfied error message.
     * @param message the error message for this exception
     */
    public ProjectionException(String message){
	super(message);
    }
	/**
	 * Construct a new <code>ProjectionException</code> with the given 
	 * message and a cause. 
	 * @param message Error message
	 * @param cause Exception to throw up
	 */
	public ProjectionException(String message, Throwable cause){
		super(message, cause);
	}
	/**
	 * Construct a new <code>ProjectionException</code> with the given 
	 * a cause. 
	 * @param cause Exception to throw up.
	 */
	public ProjectionException(Throwable cause){
		super(cause);
	}	
}
