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 18
18
package javafxlibrary .exceptions ;
19
19
20
20
@ 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 {
32
22
33
23
public JavaFXLibraryTimeoutException () {
34
24
super ();
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ public Object getBounds(Object locator) {
129
129
throw new JavaFXLibraryNonFatalException ("Could not execute move to using locator \" " + locator + "\" : "
130
130
+ e .getCause ().getMessage ());
131
131
132
- } catch (JavaFXLibraryTimeoutException | JavaFXLibraryNonFatalException e ){
132
+ } catch (JavaFXLibraryNonFatalException e ){
133
133
throw e ;
134
134
135
135
} catch (Exception e ) {
Original file line number Diff line number Diff line change @@ -444,7 +444,7 @@ public static Object checkClickTarget(Object target) {
444
444
checkClickLocation (target );
445
445
return target ;
446
446
447
- } catch (JavaFXLibraryTimeoutException | JavaFXLibraryNonFatalException jfxe ) {
447
+ } catch (JavaFXLibraryNonFatalException jfxe ) {
448
448
throw jfxe ;
449
449
} catch (Exception e ) {
450
450
throw new JavaFXLibraryNonFatalException ("Click target check failed: " + e .getMessage (), e );
You can’t perform that action at this time.
0 commit comments