private void validateDeliveryDelayTime ( long deliveryDelayTime ) throws JMSException { if ( ( deliveryDelayTime < 0 ) || ( deliveryDelayTime > MfpConstants . MAX_DELIVERY_DELAY ) ) { throw ( JMSException ) JmsErrorUtils . newThrowable ( JMSException . class , "INVALID_VALUE_CWSIA0068" , new Object [ ] { "deliveryDelay" , "" + deliveryDelayTime } , tc ) ; } }
Validates the deliveryDelayTime field and throws an exception if there is a problem .