public void checkConfiguration() throws RuntimeConfigurationException {
    String executableName = "";

    if (myRunnerParameters == null
        || complainIfEmpty(
            executableName = myRunnerParameters.getExecutableName(), INVALID_EXECUTABLE_FILE_NAME)
        || !new File(executableName).exists()) {
      throw new RuntimeConfigurationError(INVALID_EXECUTABLE_FILE_NAME + executableName);
    }
  }
 @Override
 public void writeExternal(Element element) throws WriteExternalException {
   super.writeExternal(element);
   String executable = myRunnerParameters != null ? myRunnerParameters.getExecutableName() : null;
   if (executable != null) element.setAttribute(EXECUTABLE_NAME, executable);
 }
 @Override
 public void readExternal(Element element) throws InvalidDataException {
   super.readExternal(element);
   myRunnerParameters = createRunnerParameters();
   myRunnerParameters.setExecutableName(element.getAttributeValue(EXECUTABLE_NAME));
 }