OnPremServersNotSupportedException class

Thrown when the SDK has tried to consume content published by an on-premises server. Extends the ProtectionException class.

Signature

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

Methods

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

Defined in

OnPremServersNotSupportedException.java

Package

com.microsoft.rightsmanagement.exceptions

Remarks

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