[jboss-jira] [JBoss JIRA] (WFLY-1735) cli EndIfHandler class exception created but not thrown
Alexey Loubyansky (JIRA)
jira-events at lists.jboss.org
Tue Aug 13 08:21:26 EDT 2013
[ https://issues.jboss.org/browse/WFLY-1735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Loubyansky resolved WFLY-1735.
-------------------------------------
Resolution: Done
Fixed.
> 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.Alpha3
> Reporter: Cheng Fang
> Assignee: Alexey Loubyansky
> Fix For: 8.0.0.Alpha4
>
>
> 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