All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.signal.libsignal.protocol.fingerprint.FingerprintVersionMismatchException Maven / Gradle / Ivy

There is a newer version: 0.62.0
Show newest version
//
// Copyright 2016 Signal Messenger, LLC.
// SPDX-License-Identifier: AGPL-3.0-only
//

package org.signal.libsignal.protocol.fingerprint;

public class FingerprintVersionMismatchException extends Exception {

  private final int theirVersion;
  private final int ourVersion;

  public FingerprintVersionMismatchException(int theirVersion, int ourVersion) {
    super();
    this.theirVersion = theirVersion;
    this.ourVersion = ourVersion;
  }

  public int getTheirVersion() {
    return theirVersion;
  }

  public int getOurVersion() {
    return ourVersion;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy