File tree Expand file tree Collapse file tree 3 files changed +3
-13
lines changed
src/main/java/javafxlibrary Expand file tree Collapse file tree 3 files changed +3
-13
lines changed Original file line number Diff line number Diff line change 1818package javafxlibrary .exceptions ;
1919
2020@ SuppressWarnings ("serial" )
21- public class JavaFXLibraryTimeoutException extends JavaFXLibraryKeywordException {
22-
23- /**
24- * This will be a non-fatal exception
25- */
26- public static final boolean ROBOT_EXIT_ON_FAILURE = false ;
27-
28- /**
29- * Avoid adding the exception type as a prefix to this failure exception
30- */
31- public static final boolean ROBOT_SUPPRESS_NAME = true ;
21+ public class JavaFXLibraryTimeoutException extends JavaFXLibraryNonFatalException {
3222
3323 public JavaFXLibraryTimeoutException () {
3424 super ();
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ public Object getBounds(Object locator) {
129129 throw new JavaFXLibraryNonFatalException ("Could not execute move to using locator \" " + locator + "\" : "
130130 + e .getCause ().getMessage ());
131131
132- } catch (JavaFXLibraryTimeoutException | JavaFXLibraryNonFatalException e ){
132+ } catch (JavaFXLibraryNonFatalException e ){
133133 throw e ;
134134
135135 } catch (Exception e ) {
Original file line number Diff line number Diff line change @@ -444,7 +444,7 @@ public static Object checkClickTarget(Object target) {
444444 checkClickLocation (target );
445445 return target ;
446446
447- } catch (JavaFXLibraryTimeoutException | JavaFXLibraryNonFatalException jfxe ) {
447+ } catch (JavaFXLibraryNonFatalException jfxe ) {
448448 throw jfxe ;
449449 } catch (Exception e ) {
450450 throw new JavaFXLibraryNonFatalException ("Click target check failed: " + e .getMessage (), e );
You can’t perform that action at this time.
0 commit comments