Command.getEnum now uses try{}catch