logger.warn("Attempt to close ignored, " + toString()
+ " has already been abandoned (probably attempted "
+ "by tool that could not be terminated).");
return;
}
throw new NotRunningException
("Cannot terminate "+toString()+", process already closed.");
}
if (!validTypedStates().contains (s)) {
if (typedState().isSameOrSubState(OpenState.RUNNING)) {
throw new CannotStopException(toString() + " is " + state());
} else {
throw new NotRunningException (toString() + " is " + state());
}
}
}