457458459460461462463464465466467
if (state().equals("open.not_running.not_started")) { throw new NotRunning(); } else if (state().startsWith("closed")) { throw new CannotResume(); } else { throw new NotSuspended(); } } else { changeState("open.running"); } }
458459460461462463464465466467468