File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
java/client/test/org/openqa/selenium/testing/drivers Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 17
17
18
18
package org .openqa .selenium .testing .drivers ;
19
19
20
- import com . google . common . base . Throwables ;
20
+ import static java . util . concurrent . TimeUnit . SECONDS ;
21
21
22
22
import com .google .common .io .Files ;
23
+
23
24
import org .openqa .selenium .Build ;
24
25
import org .openqa .selenium .Capabilities ;
25
26
import org .openqa .selenium .net .NetworkUtils ;
38
39
import java .util .List ;
39
40
import java .util .logging .Logger ;
40
41
41
- import static java .util .concurrent .TimeUnit .SECONDS ;
42
-
43
42
public class OutOfProcessSeleniumServer {
44
43
45
44
private static final Logger log = Logger .getLogger (OutOfProcessSeleniumServer .class .getName ());
@@ -97,9 +96,9 @@ public OutOfProcessSeleniumServer start() {
97
96
log .info ("Server is ready" );
98
97
} catch (UrlChecker .TimeoutException e ) {
99
98
log .severe ("Server failed to start: " + e .getMessage ());
100
- throw Throwables . propagate (e );
99
+ throw new RuntimeException (e );
101
100
} catch (MalformedURLException e ) {
102
- throw Throwables . propagate (e );
101
+ throw new RuntimeException (e );
103
102
}
104
103
105
104
return this ;
You can’t perform that action at this time.
0 commit comments