int lifecycleState = context.getLifecycleState();
if (lifecycleState != LifecycleState.SUSPENDED && lifecycleState != LifecycleState.IDLING)
{
String msg = LogUtil.error(getClass(), "Token has invalid lifecycle state for operation resumeToken. [{0}]", context);
throw new OpenBPException("InvalidLifecycleState", msg);
}
context.setLifecycleRequest(LifecycleRequest.RESUME);
if (lifecycleState != LifecycleState.IDLING)