Calls {@link ObjectPool#addObject()} on <code>pool</code> <code>count</code>
number of times.
@param pool
the pool to prefill.
@param count
the number of idle objects to add.
@param <T> the type of objects in the pool
@throws Exception
when {@link ObjectPool#addObject()} fails.
@throws IllegalArgumentException
when <code>pool</code> is <code>null</code>.
Calls {@link ObjectPool#addObject()} on <code>pool</code> <code>count</code> number of times.
@param pool the pool to prefill. @param count the number of idle objects to add. @param <T> the type of objects in the pool @throws Exception when {@link ObjectPool#addObject()} fails. @throws IllegalArgumentException when <code>pool</code> is <code>null</code>.