package edu.uprm.admg.nettraveler.schema;

// JDK imports
import edu.uprm.admg.nettraveler.system.NetTravelerException;

/**
 * <code>FunctionValueException</code> is thrown when an 
 * error is encountered while trying to  operate an instance
 * of a <code>FunctionValueAttribute</code>.
 *  
 * @author M.Rodriguez-Martinez
 * 
 * @author Elliot A. Vargas-Figueroa
 * <br>
 * Universidad de Puerto Rico@Mayaguez.
 * <br>
 * <code>NetTraveler</code> - M.S. Thesis Project.
 * <br>
 * P.I. Manuel Rodriguez-Martinez
 * 
 */

public class FunctionValueException extends NetTravelerException{
    
    /**
	 * 
	 */
	private static final long serialVersionUID = 672927654038976143L;

	/**
     * Constructs a <code>FunctionValueException</code> with 
     * a null error message.
     */
    public FunctionValueException(){
	super();
    }

    /**
     * Constructs a <code>FunctionValueException</code> with
     * a specfied error message.
     * @param message the error message for this exception
     */
    public FunctionValueException(String message){
	super(message);
    }
	/**
	 * Construct a new <code>NetTravelerException</code> with the given 
	 * message and a cause. 
	 * @param message Error message
	 * @param cause Exception to throw up
	 */
	public FunctionValueException(String message, Throwable cause){
		super(message, cause);
	}
	/**
	 * Construct a new <code>NetTravelerException</code> with the given 
	 * a cause. 
	 * @param cause Exception to throw up.
	 */
	public FunctionValueException(Throwable cause){
		super(cause);
	}	
    
//    /**
//     * Constructs a <code>FunctionValueException</code> with
//     * a specified error message and an Exception as the next
//     * exception in the chain.
//     */
//    public FunctionValueException(String message, Exception next){
//	super(message);
//	this.setNextException(next);
//    }
}
