[jboss-jira] [JBoss JIRA] (AS7-6427) org.jboss.as.arquillian.container.ManagementClient.isServerInRunningState() silently swallows exceptions

Stephen Coy (JIRA) jira-events at lists.jboss.org
Thu Jan 31 05:12:51 EST 2013


Stephen Coy created AS7-6427:
--------------------------------

             Summary: org.jboss.as.arquillian.container.ManagementClient.isServerInRunningState() silently swallows exceptions
                 Key: AS7-6427
                 URL: https://issues.jboss.org/browse/AS7-6427
             Project: Application Server 7
          Issue Type: Feature Request
          Components: Test Suite
    Affects Versions: 7.2.0.Alpha1
         Environment: n/a
            Reporter: Stephen Coy
            Assignee: Ondrej Zizka


{code:java}
    public boolean isServerInRunningState() {
        try {
            ...
        } catch (Throwable ignored) {
            return false;
        }
    }
{code}

Some exceptions will never be recoverable (such as java.lang.ClassNotFoundException) and logging them would be useful.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list