} else if (argSet.isSet()) {
String layoutID = getLayoutID(mgr);
for (Device kb : kbDevs) {
final KeyboardAPI api = kb.getAPI(KeyboardAPI.class);
try {
final KeyboardInterpreter kbInt = mgr.createKeyboardInterpreter(layoutID);
out.format(fmt_set_interp, kb.getId(), kbInt.getClass().getName());
api.setKbInterpreter(kbInt);
} catch (KeyboardInterpreterException ex) {
err.format(ex_set_interp, kb.getId(), ex.getLocalizedMessage());
// Re-throw the exception so that the shell can decide whether or not
// to print a stacktrace.