private File validateWorkingDirectory(String workingDir) {
    if (isEmpty(workingDir)) {
      throw new IllegalArgumentException(
          "Locator WorkingDirectory must not be null");
    }
    return new File(workingDir);
  }
Validates working directory is not null or empty.
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/AgentConfigImpl.java