Package 

Class LcpError.LicenseStatus

  • All Implemented Interfaces:
    org.readium.r2.shared.util.Error

    
    public class LcpError.LicenseStatus
    extends LcpError
                        

    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").

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String message
      private final Error cause
    • Method Summary

      Modifier and Type Method Description
      String getMessage()
      Error getCause()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait