package edu.uprm.admg.nettraveler.schema;

import edu.uprm.admg.nettraveler.system.NetTravelerException;

// JDK imports

/**
 * <code>MethodInvocationException</code> is thrown when an 
 * error is encountered while trying to invoke the method
 * in a MethodDescriptor object, which is used to implement a
 * user-defined projection (Generalized projection). 
 * The error can be the result of a missmatch of the arguments,
 * a failure to locate the class for the method, or some
 * type of run time error.
 * 
 * @author M.Rodriguez-Martinez
 */

public class MethodInvocationException extends NetTravelerException{
    
    /**
	 * 
	 */
	private static final long serialVersionUID = 8922327568255702617L;

	/**
     * Constructs a <code>MethodInvocationException</code> with 
     * a null error message.
     */
    public MethodInvocationException(){
	super();
    }

    /**
     * Constructs a <code>MethodInvocationException</code> with
     * a specfied error message.
     * @param message the error message for this exception
     */
    public MethodInvocationException(String message){
	super(message);
    }
}
