code: public void setName (final String name)
    {
      if (name == null || name.trim ().length () == 0)
      {
        throw new IllegalArgumentException ("Scheduler name cannot be empty.");
      }
  
      m_sName = name;
  
      if (m_sThreadName == null)
      {
        // thread name not already set, use default thread name
        setThreadName (name + "_QuartzSchedulerThread");
      }
    }
docs: <p>
  Set the name for the <code>{@link QuartzScheduler}</code>.
  </p>
  
  @exception IllegalArgumentException
  if name is null or empty.