package edu.uprm.admg.nettraveler.schema;
/**
 * <code>TupleInstantiationException</code> is thrown when an 
 * error is encountered while trying to create a new tuple object
 * from a template of the attributes. The exact cause for the 
 * exception might be due to an attempt to:
 * <ul>
 * <li> access an unavailable class for an attribute.
 * <li> create an object from an abstract class.
 * </ul>
 * 
 * @author M.Rodriguez-Martinez
 * @author Elliot A. Vargas-Figueroa
 */

public class TupleInstantiationException extends Exception{
    
    /**
	 *  Serial Version 
	 */
	private static final long serialVersionUID = -236635097895236142L;

	/**
     * Constructs a <code>TupleInstantiationException</code> with 
     * a null error message.
     */
    public TupleInstantiationException(){
	super();
    }

    /**
     * Constructs a <code>TupleInstantiationException</code> with
     * a specfied error message.
     * @param message the error message for this exception
     */
    public TupleInstantiationException(String message){
	super(message);
    }
}
