jbossas/jboss-as — pull request #1621 by aloubyansky (2012-02-27 16:47:49+00:00)
Title: cli: AS7-3721 improving public api

This commit includes

- make CommandContext.terminateSession() also close the connection to the controller,
- change throws clause of CommandHandler.handle(CommandContext ctx) from CommandFormatException to its super class CommandLineException to cover non format related errors,
- make CommandContext.connectController(...) throw CommandLineException instead of just logging the error msg.

Thanks,
Alexey