Conversations/src/main/java/eu/siacs/conversations/crypto/axolotl/BrokenSessionException.java

19 lines
501 B
Java

package eu.siacs.conversations.crypto.axolotl;
import org.whispersystems.libsignal.SignalProtocolAddress;
public class BrokenSessionException extends CryptoFailedException {
private final SignalProtocolAddress signalProtocolAddress;
public BrokenSessionException(SignalProtocolAddress address, Exception e) {
super(e);
this.signalProtocolAddress = address;
}
public SignalProtocolAddress getSignalProtocolAddress() {
return signalProtocolAddress;
}
}