- final GroupId groupId = Util.decodeGroupId(ns.getString("group"));
- final Pair<Long, List<SendMessageResult>> results = m.sendQuitGroupMessage(groupId);
- return handleTimestampAndSendMessageResults(results.first(), results.second());
- } catch (IOException e) {
- handleIOException(e);
- return 3;
- } catch (AssertionError e) {
- handleAssertionError(e);
- return 1;
- } catch (GroupNotFoundException e) {
- handleGroupNotFoundException(e);
- return 1;
- } catch (NotAGroupMemberException e) {
- handleNotAGroupMemberException(e);
- return 1;