GeneralException class
A general exception used to wrap exceptions with a simplified error message. Extends the ProtectionException class.
This exception will prompt you, stating that an error has occurred and allowing you to send logging information to the Rights Management Service.
Signature
public class GeneralException 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 |
---|---|
GeneralException |
Initializes a new instance of the GeneralException class. |
GeneralException(Throwable) |
Initializes a new instance of the GeneralException class. |
Methods
Name | Description |
---|---|
getType |
Returns the type of the exception. Inherited from ProtectionException. |
Defined in
GeneralException.java
Package
com.microsoft.rightsmanagement.exceptions
Remarks
The GeneralException 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.