ProtectionException class
Signals that a protection exception of some kind has occurred. This class is the general class used for exceptions produced by failed or interrupted RMS operations.
Signature
public class ProtectionException extends IOException
Constructors
Note
The constructors are documented here for your information and are not intended to be called by you, the application developer.
Name | Description |
---|---|
ProtectionException(String, String) |
Initializes a new instance of the ProtectionException class with the specified tag and message. |
ProtectionException(String, String, Throwable) |
Initializes a new instance of the ProtectionException class with the specified tag, message, and inner exception. |
Methods
Name | Description |
---|---|
getType |
Returns the type of the exception. |
getLogEntries |
Gets the available log entries and removes them from the internal queue. |
getScenarioId |
Returns the current scenario Id. |
Defined in
ProtectionException.java
Package
com.microsoft.rightsmanagement.exceptions
Remarks
The ProtectionException class extends the IOException class. For more information about the IOException class and the members it exposes, see the Android developer documentation.
Thread Safety
Members of this class are not guaranteed to be thread safe.