package niagara.api.exceptions;

/**
 * Created by Youkool on 19/03/2017.
 */
public class IncorrectNumberOfParameterException extends Exception {

    private int expected;
    private int actual;

    public IncorrectNumberOfParameterException(int expected, int actual){
        this.expected = expected;
        this.actual = actual;
    }

    public int getExpectedNumberOfParameter(){
        return expected;
    }

    public int getActualNumberOfParameter(){ return actual; }
}
