RestServiceNotEnabledException class

Thrown if the user has an Office 365 account, but the company has not provisioned or enabled RMSO; or if the company has provisioned RMSO, but has not enabled the REST service for any of the AD RMS clients. Extends the ProtectionException class.

Signature

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

Methods

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

Defined in

RestServiceNotEnabledException.java

Package

com.microsoft.rightsmanagement.exceptions

Remarks

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

See also

com.microsoft.rightsmanagement.exceptions

ProtectionException