Поделиться через


OfflineOnlyRequiresInternetException class

Thrown when communication is needed but the OFFLINE_ONLY flag is set in consumption scenarios. Extends the ProtectionException class.

Signature

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

OfflineOnlyRequiresInternetException.java

Package

com.microsoft.rightsmanagement.exceptions

Remarks

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

Thread Safety

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