Remove error handling for oracle unlimited crypto issue

This commit is contained in:
AsamK 2021-05-01 08:45:10 +02:00
parent 0a63dd1db4
commit 357e278f48
11 changed files with 5 additions and 65 deletions

View file

@ -16,7 +16,6 @@ import org.asamk.signal.util.Util;
import java.io.IOException;
import static org.asamk.signal.util.ErrorUtils.handleAssertionError;
import static org.asamk.signal.util.ErrorUtils.handleTimestampAndSendMessageResults;
public class QuitGroupCommand implements LocalCommand {
@ -42,12 +41,7 @@ public class QuitGroupCommand implements LocalCommand {
handleTimestampAndSendMessageResults(writer, results.first(), results.second());
} catch (IOException e) {
throw new IOErrorException("Failed to send message: " + e.getMessage());
} catch (AssertionError e) {
handleAssertionError(e);
throw e;
} catch (GroupNotFoundException e) {
throw new UserErrorException("Failed to send to group: " + e.getMessage());
} catch (NotAGroupMemberException e) {
} catch (GroupNotFoundException | NotAGroupMemberException e) {
throw new UserErrorException("Failed to send to group: " + e.getMessage());
}
}