code: public void validate() throws ValidateException
     {
        if (this.maxPoolSize != null && this.maxPoolSize < 0)
           throw new ValidateException(bundle.invalidNegative(CommonXML.ELEMENT_MAX_POOL_SIZE));
  
        if (this.minPoolSize != null && this.minPoolSize < 0)
           throw new ValidateException(bundle.invalidNegative(CommonXML.ELEMENT_MIN_POOL_SIZE));
  
        if (this.minPoolSize != null && this.maxPoolSize != null && minPoolSize.intValue() > maxPoolSize.intValue())
        {
           throw new ValidateException(bundle.notValidNumber(minPoolSize.toString(),
                   CommonXML.ELEMENT_MIN_POOL_SIZE));
        }
  
        if (this.flushStrategy == null)
           throw new ValidateException(bundle.nullValue(CommonXML.ELEMENT_FLUSH_STRATEGY));
     }
docs: {@inheritDoc}