*/
abstract class AbstractLastErrorExecutor implements CommandExecutor {
@Override
public final void execute(String[] params) throws CommandException {
ErrorLogEntry entry = ErrorLog.lastError();
if (entry != null) {
handle(entry);
} else {
NonBlockingAlert.info("No errors have been reported.", "No errors");
}