Compartilhar via


NoConsumptionRightsContentRevokedException class

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Signals that the user does not have consumption rights over the protected content. Extends the ProtectionException class.

Signature

public class NoConsumptionRightsException 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
NoConsumptionRightsContentRevokedException(String)
Initializes a new instance of the NoConsumptionRightsContentRevokedException class.
NoConsumptionRightsContentRevokedException(String, Throwable)
Initializes a new instance of the NoConsumptionRightsContentRevokedException class.

Methods

Name Description
getLocalizedMessage
Returns a localized error message for the exception. Overrides Throwable.getLocalizedMessage.
getMessage
Returns a message. Overrides Throwable.getMessage.

Defined in

NoConsumptionRightsException.java

Package

com.microsoft.rightsmanagement.exceptions

Remarks

The NoConsumptionRightsContentRevokedException 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.