org.sikuli.script.FindFailed Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sikulixapi Show documentation
Show all versions of sikulixapi Show documentation
... for visual testing and automation
/*
* Copyright 2010-2014, Sikuli.org, sikulix.com
* Released under the MIT License.
*
* modified RaiMan
*/
package org.sikuli.script;
/**
* implements the SikuliX FindFailed exception class
* and defines constants and settings for the feature FindFailedResponse
*/
public class FindFailed extends SikuliException {
/**
* default FindFailedResponse is ABORT
*/
public static FindFailedResponse defaultFindFailedResponse = FindFailedResponse.ABORT;
/**
* FindFailedResponse: should display a prompt dialog with the failing image
* having the options retry, skip and abort
*/
public static final FindFailedResponse PROMPT = FindFailedResponse.PROMPT;
/**
* FindFailedResponse: should retry the find op on FindFailed
*/
public static final FindFailedResponse RETRY = FindFailedResponse.RETRY;
/**
* FindFailedResponse: should silently continue on FindFailed
*/
public static final FindFailedResponse SKIP = FindFailedResponse.SKIP;
/**
* FindFailedResponse: should abort the SikuliX application
*/
public static final FindFailedResponse ABORT = FindFailedResponse.ABORT;
/**
* the exception
* @param message to be shown
*/
public FindFailed(String message) {
super(message);
_name = "FindFailed";
}
}