2015-07-24 11:32:22 +03:00
|
|
|
package com.iluwatar.front.controller;
|
2015-07-19 12:44:51 +03:00
|
|
|
|
2015-07-19 13:54:07 +03:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Default command in case the mapping is not successful.
|
|
|
|
*
|
|
|
|
*/
|
2015-07-19 12:44:51 +03:00
|
|
|
public class UnknownCommand implements Command {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void process() {
|
2015-07-19 13:54:07 +03:00
|
|
|
new ErrorView().display();
|
2015-07-19 12:44:51 +03:00
|
|
|
}
|
|
|
|
}
|