{"action":"created","issue":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/409","labels_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/409/labels{/name}","comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/409/comments","events_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/409/events","html_url":"https://github.com/SeleniumHQ/selenium/issues/409","id":66103207,"number":409,"title":"Allow ignoring checked exceptions while waiting","user":{"login":"olivergondza","id":206841,"avatar_url":"https://avatars.githubusercontent.com/u/206841?v=3","gravatar_id":"","url":"https://api.github.com/users/olivergondza","html_url":"https://github.com/olivergondza","followers_url":"https://api.github.com/users/olivergondza/followers","following_url":"https://api.github.com/users/olivergondza/following{/other_user}","gists_url":"https://api.github.com/users/olivergondza/gists{/gist_id}","starred_url":"https://api.github.com/users/olivergondza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivergondza/subscriptions","organizations_url":"https://api.github.com/users/olivergondza/orgs","repos_url":"https://api.github.com/users/olivergondza/repos","events_url":"https://api.github.com/users/olivergondza/events{/privacy}","received_events_url":"https://api.github.com/users/olivergondza/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SeleniumHQ/selenium/labels/C-java","name":"C-java","color":"fbca04"},{"url":"https://api.github.com/repos/SeleniumHQ/selenium/labels/I-papercut","name":"I-papercut","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-03T08:06:11Z","updated_at":"2015-04-03T17:53:22Z","closed_at":"2015-04-03T16:08:03Z","body":"When using `FluentWait`, it is possible to ignore specified `RuntimeExceptions`. Checked exceptions can not be used since there is no *predicate* accepted by `until` methods that allows to throw checked exception from `apply` method. I see several ways to implement that:\r\n\r\n1. Introduce new predicate type that permits checked exceptions.\r\n2. Introduce Wrapping `RuntimeExcepiton` predicate implementations will use to propagate checked exceptions. `FluentWait#propagateIfNotIngored` will then unwrap before performing the check.\r\n3. Make `FluentWait#propagateIfNotIngored` protected so subclasses can do 2.\r\n\r\nTo me, 1. seems preferable."},"comment":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/comments/89374487","html_url":"https://github.com/SeleniumHQ/selenium/issues/409#issuecomment-89374487","issue_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/409","id":89374487,"user":{"login":"lukeis","id":926454,"avatar_url":"https://avatars.githubusercontent.com/u/926454?v=3","gravatar_id":"","url":"https://api.github.com/users/lukeis","html_url":"https://github.com/lukeis","followers_url":"https://api.github.com/users/lukeis/followers","following_url":"https://api.github.com/users/lukeis/following{/other_user}","gists_url":"https://api.github.com/users/lukeis/gists{/gist_id}","starred_url":"https://api.github.com/users/lukeis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukeis/subscriptions","organizations_url":"https://api.github.com/users/lukeis/orgs","repos_url":"https://api.github.com/users/lukeis/repos","events_url":"https://api.github.com/users/lukeis/events{/privacy}","received_events_url":"https://api.github.com/users/lukeis/received_events","type":"User","site_admin":false},"created_at":"2015-04-03T17:53:22Z","updated_at":"2015-04-03T17:53:22Z","body":"I'm not inclined to think we should allow that... maybe @shs96c can articulate something here on his thoughts.\r\n\r\nBut if you can think of how to accomplish it with preserving backwards compatibility with ExpectedConditions, then pull requests are welcome."}}