-
- All Implemented Interfaces:
-
java.io.Serializable
public class LcpException.LicenseStatus extends LcpException
Errors while checking the status of the License, using the Status Document.
The app should notify the user and stop there. The message to the user must be clear about the status of the license: don't display "expired" if the status is "revoked". The date and time corresponding to the new status should be displayed (e.g. "The license expired on 01 January 2018").
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classLcpException.LicenseStatus.Cancelledpublic final classLcpException.LicenseStatus.Returnedpublic final classLcpException.LicenseStatus.NotStartedpublic final classLcpException.LicenseStatus.Expiredpublic final classLcpException.LicenseStatus.RevokedIf 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").
-
Method Summary
Modifier and Type Method Description -
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
-
-