30 lines
802 B
Java
30 lines
802 B
Java
package org.whispersystems.signalservice.internal.push;
|
|
|
|
|
|
import org.whispersystems.signalservice.api.push.exceptions.NonSuccessfulResponseCodeException;
|
|
|
|
public final class LockedException extends NonSuccessfulResponseCodeException {
|
|
|
|
private final int length;
|
|
private final long timeRemaining;
|
|
private final String basicStorageCredentials;
|
|
|
|
LockedException(int length, long timeRemaining, String basicStorageCredentials) {
|
|
this.length = length;
|
|
this.timeRemaining = timeRemaining;
|
|
this.basicStorageCredentials = basicStorageCredentials;
|
|
}
|
|
|
|
public int getLength() {
|
|
return length;
|
|
}
|
|
|
|
public long getTimeRemaining() {
|
|
return timeRemaining;
|
|
}
|
|
|
|
public String getBasicStorageCredentials() {
|
|
return basicStorageCredentials;
|
|
}
|
|
}
|