-
- All Implemented Interfaces:
-
org.readium.r2.shared.util.Error
public final class LcpError.LicenseStatus.Revoked extends LcpError.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 LcpError.LicenseStatus.Revoked(Date date, Integer devicesCount)
-
Method Summary
Modifier and Type Method Description final DategetDate()final IntegergetDevicesCount()StringgetMessage()ErrorgetCause()-
-
Method Detail
-
getDevicesCount
final Integer getDevicesCount()
-
getMessage
String getMessage()
-
getCause
Error getCause()
-
-
-
-