Observação
O acesso a essa página exige autorização. Você pode tentar entrar ou alterar diretórios.
O acesso a essa página exige autorização. Você pode tentar alterar os diretórios.
Maps the numeric error codes in the SDK to the relevant exception type, enabling the developer to check and handle the error code accordingly.
Signature
public enum ProtectionExceptionType
Types
| Exception | Error |
|---|---|
| DeviceRejectedException |
SDK_ERROR_DEVICE_REJECTED |
| GeneralException |
SDK_ERROR_GENERAL |
| CommunicationException |
SDK_ERROR_COMMUNICATION |
| NoConsumptionRightsException |
SDK_ERROR_NO_CONSUMPTION_RIGHTS |
| InvalidParameterException |
SDK_ERROR_INVALID_PARAMETER |
| UnsupportedSDKVersionException |
SDK_ERROR_UNSUPPORTED_SDK_VERSION |
| ServiceNotAvailableException |
SDK_ERROR_SERVICE_NOT_AVAILABLE |
| InvalidPLException |
SDK_ERROR_INVALID_PL |
| UserRightsExpiredException |
SDK_ERROR_USER_RIGHTS_EXPIRED |
| OnPremServersNotSupportedException |
SDK_ERROR_ON_PREM_SERVER_NOT_SUPPPORTED |
| NoPublishingRightsException |
SDK_ERROR_NO_PUBLISHING_RIGHT |
| ServiceNotEnabledException |
SDK_ERROR_REST_SERVICE_NOT_ENABLED |
| FailedAuthenticationException |
SDK_AUTH_ERROR |
| InvalidDnsLookupResultException |
SDK_ERROR_INVALID_PARAMETER |
| OfflineOnlyRequiresInternetException |
SDK_ERROR_OFFLINE_ONLY_REQUIRE_INTERNET |
| InvalidCertificateException |
SDK_ERROR_INVALID_CERTIFICATE |
| UserCancellationException |
SDK_ERROR_USER_CANCELLED |
| NoConsumptionRightsContentRevokedException |
SDK_ERROR_NO_CONSUMPTION_RIGHTS_CONTENT_REVOKED |
Defined in
ProtectionExceptionType.java
Supported Platforms
| Minimum supported OS version |
Android 4.0.3 (API level 15) |
Package
com.microsoft.rightsmanagement.exceptions
Thread Safety
Members of this class are not guaranteed to be thread safe.