ejb3/src/main/java/org/jboss/as/ejb3/timerservice/TimerServiceImpl.java
@Override
    public Timer createTimer(Date expiration, Serializable info) throws IllegalArgumentException, IllegalStateException,
            EJBException {
        assertTimerServiceState();
        if (expiration == null) {
            throw EJB3_TIMER_LOGGER.expirationDateIsNull();
        }
        if (expiration.getTime() < 0) {
            throw EJB3_TIMER_LOGGER.invalidExpirationTimer();
        }
        return this.createTimer(expiration, 0, info, true);
    }
@Override
    public Timer createTimer(Date expiration, Serializable info) throws IllegalArgumentException, IllegalStateException,
            EJBException {
        assertTimerServiceState();
        if (expiration == null) {
            throw EJB3_TIMER_LOGGER.expirationDateIsNull();
        }
        if (expiration.getTime() < 0) {
            throw EJB3_TIMER_LOGGER.invalidExpirationTimer();
        }
        return this.createTimer(expiration, 0, info, true);
    }
@ Override public Timer createTimer ( Date expiration , Serializable info ) throws IllegalArgumentException , IllegalStateException , EJBException { assertTimerServiceState ( ) ; if ( expiration == null ) { throw EJB3_TIMER_LOGGER . expirationDateIsNull ( ) ; } if ( expiration . getTime ( ) < 0 ) { throw EJB3_TIMER_LOGGER . invalidExpirationTimer ( ) ; } return this . createTimer ( expiration , 0 , info , true ) ; }
{@inheritDoc}
{