1 package org
.asamk
.signal
.manager
.api
;
3 import org
.asamk
.signal
.manager
.storage
.recipients
.RecipientAddress
;
5 public class UntrustedIdentityException
extends Exception
{
7 private final RecipientAddress sender
;
8 private final int senderDevice
;
10 public UntrustedIdentityException(final RecipientAddress sender
, final int senderDevice
) {
11 super("Untrusted identity: " + sender
.getIdentifier());
13 this.senderDevice
= senderDevice
;
16 public RecipientAddress
getSender() {
20 public int getSenderDevice() {