org.whispersystems.libaxolotl.UntrustedIdentityException Maven / Gradle / Ivy
package org.whispersystems.libaxolotl;
public class UntrustedIdentityException extends Exception {
private final String name;
private final IdentityKey key;
public UntrustedIdentityException(String name, IdentityKey key) {
this.name = name;
this.key = key;
}
public IdentityKey getUntrustedIdentity() {
return key;
}
public String getName() {
return name;
}
}