All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openqa.selenium.browserlaunchers.WindowsRegistryException Maven / Gradle / Ivy

There is a newer version: 2.0b1
Show newest version
package org.openqa.selenium.browserlaunchers;

import org.openqa.selenium.WebDriverException;

@SuppressWarnings("serial")
public class WindowsRegistryException extends WebDriverException {
  WindowsRegistryException(Exception e) {
    super(generateMessage(), e);
  }

  private static String generateMessage() {
    return "Problem while managing the registry, OS Version '" +
           System.getProperty("os.version") + "', regVersion1 = " + WindowsUtils.regVersion1;
  }

  WindowsRegistryException(String message) {
    this(new RuntimeException(message));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy