← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #261043]: Exit program if Sikuli fails at any step in Java

 

Question #261043 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261043

    Status: Open => Answered

RaiMan proposed the following answer:
except Region.exists() all explicit or implicit find ops throw
FindFailed exception, that can either be catched (try/catch) or
delegated to the caller via throws … in the method definition.

when having a throws FindFailed in the main method definition, the
program will crash with this exception.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.