/**
* Insure that timer methods can be invoked for the current operation on this Context.
*/
private void checkState() throws IllegalStateException, NoSuchObjectLocalException {
final BeanContext beanContext = ThreadContext.getThreadContext().getBeanContext();
final BaseContext context = (BaseContext) beanContext.get(EJBContext.class);
context.check(BaseContext.Call.timerMethod);
if (timerData.isCancelled()) {
throw new NoSuchObjectLocalException("Timer has been cancelled");
}