Commit 107fa80d authored by Wagner Franchin's avatar Wagner Franchin

Added class to handle incorrect parameters

parent 5b7d4e2f
package task;
public final class TaskIncorrectParams extends TaskImpl {
public TaskIncorrectParams(String input) {
super(input);
}
@Override
public void execute() { }
@Override
public String getResult() {
return "ERROR: A task must have 2 parameters.\n";
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment