[jboss-jira] [JBoss JIRA] (WFLY-1735) cli EndIfHandler class exception created but not thrown

Cheng Fang (JIRA) jira-events at lists.jboss.org
Mon Jul 22 15:57:26 EDT 2013


Cheng Fang created WFLY-1735:
--------------------------------

             Summary: cli EndIfHandler class exception created but not thrown
                 Key: WFLY-1735
                 URL: https://issues.jboss.org/browse/WFLY-1735
             Project: WildFly
          Issue Type: Bug
          Components: CLI
    Affects Versions: 8.0.0.Beta1
            Reporter: Cheng Fang
            Assignee: Alexey Loubyansky


cli EndIfHandler class creates an CommandLineException without throwing it:
{code}
            try {
                final ModelNode response = client.execute(ifRequest);
                if(!Util.isSuccess(response)) {
                    new CommandLineException("if request failed: " + Util.getFailureDescription(response));
                }
            } catch (IOException e) {
                throw new CommandLineException("if request failed", e);
            }
{code}

--
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