{
ContextEditablePreset.EditableVoice[] voices = getTargets();
try {
PresetContextMacros.autoMapGroupKeyWin(voices[0].getPresetContext(), voices[0].getPresetNumber(), voices[0].getVoiceParams(new Integer[]{ID.group})[0]);
} catch (NoSuchPresetException e) {
throw new CommandFailedException("Preset Not Found");
} catch (PresetEmptyException e) {
throw new CommandFailedException("Preset Empty");
} catch (IllegalParameterIdException e) {
throw new CommandFailedException("Internal error");
} catch (NoSuchVoiceException e) {
throw new CommandFailedException("No such voice");
} catch (NoSuchGroupException e) {
throw new CommandFailedException("No such group");
} catch (NoSuchContextException e) {
throw new CommandFailedException("No such context");
}
}