org.whispersystems.textsecure.internal.push.DeviceLimitExceededException Maven / Gradle / Ivy
The newest version!
package org.whispersystems.textsecure.internal.push;
import org.whispersystems.textsecure.api.push.exceptions.NonSuccessfulResponseCodeException;
public class DeviceLimitExceededException extends NonSuccessfulResponseCodeException {
private final DeviceLimit deviceLimit;
public DeviceLimitExceededException(DeviceLimit deviceLimit) {
this.deviceLimit = deviceLimit;
}
public int getCurrent() {
return deviceLimit.getCurrent();
}
public int getMax() {
return deviceLimit.getMax();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy