throws IllegalArgumentException, IllegalStateException, EJBException {
// Disallowed from stateful
if (this.factory instanceof IStatefulSessionFactory) {
throw new IllegalStateException("The createTimer() method cannot be called from a stateful session bean.");
}
OperationState operationState = this.factory.getOperationState();
if (DEPENDENCY_INJECTION == operationState || LIFECYCLE_CALLBACK_INTERCEPTOR == operationState
|| AFTER_COMPLETION == operationState) {
throw new IllegalStateException("The createTimer(initialExpiration, intervalDuration, info) "
+ "method cannot be called within the operation state '" + operationState + "'.");
}