[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-9521) PollThread should catch specific Exception if #beginPolling fails

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Thu Aug 11 06:49:49 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-9521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620289#comment-12620289 ] 

Andre Dietisheim commented on JBIDE-9521:
-----------------------------------------

see https://source.jboss.org/cru/REV-JBIDE-4/#c28

> PollThread should catch specific Exception if #beginPolling fails
> -----------------------------------------------------------------
>
>                 Key: JBIDE-9521
>                 URL: https://issues.jboss.org/browse/JBIDE-9521
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: JBossAS
>    Affects Versions: 3.3.0.M3
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>             Fix For: 3.3.0.M3
>
>
> PollThread catches a general purpose Exception if #beginPolling fails:
> {code}
> try {
> 	poller.beginPolling(getServer(), expectedState);
> 	...
> } catch(Exception e) {
> 	abort = true;
> }
> {code}
> This could swallow failure causes that are not caused by #beginPolling failing.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list