-
- All Implemented Interfaces:
-
java.io.Serializable
public final class LcpException.LicenseStatus.Revoked extends LcpException.LicenseStatus
If the license has been revoked, the user message should display the number of devices which registered to the server. This count can be calculated from the number of "register" events in the status document. If no event is logged in the status document, no such message should appear (certainly not "The license was registered by 0 devices").
-
-
Constructor Summary
Constructors Constructor Description LcpException.LicenseStatus.Revoked(Date date, Integer devicesCount)
-
Method Summary
Modifier and Type Method Description final DategetDate()final IntegergetDevicesCount()-
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class org.readium.r2.shared.UserException
getUserMessage -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-