spring-projects/spring-xd — pull request #886 by ilayaperumalg (2014-05-23 01:19:25+00:00)
Title: XD-1750 Exception handling at module info cmd

Since the option value gets converted at Shell Converter `QualifiedModuleNameConverter`, throw ShellException in case of invalid syntax or module type.

- Validate the info option syntax
- Check for ":" and expect at least module type is specified
- Validate the module type
- throw IllegalArgumentException for invalid module type

Fix `NullPointerException` at ModuleController if module definition doesn't exist for the given module name

- Throw `NoSuchModuleException` if the module definition doesn't exist
- Add test