UserRightsExpiredException class

Thrown when the user rights over the protected content have expired. Extends the ProtectionException class.

Signature

public class UserRightsExpiredException extends ProtectionException

Constructors

Note

The constructors are documented here for your information and are not intended to be called by you, the application developer.

Name Description
UserRightsExpiredException(boolean, String)
Initializes a new instance of the UserRightsExpiredException class.
UserRightsExpiredException(boolean, String, Throwable)
Initializes a new instance of the UserRightsExpiredException class.

Methods

Name Description
formatMessage
Format the UserRightsExpiredException message.
getReferrer
Gets the contact in case of missing rights to the document.
getLocalizedMessage
Returns a localized error message for the exception. Overrides Throwable.getLocalizedMessage.
getMessage
Returns a message. Overrides Throwable.getMessage.

Defined in

UserRightsExpiredException.java

Package

com.microsoft.rightsmanagement.exceptions

Remarks

The UserRightsExpiredException class extends the ProtectionException class. For more information, see the SDK documentation for the ProtectionException class.

Thread Safety

Members of this class are not guaranteed to be thread safe.