Delen via


InvalidParameterException class

Signals an invalid parameter exception has occurred. 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 InvalidParameterException 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
InvalidParameterException(String, String)
Initializes a new instance of the InvalidParameterException class.
InvalidParameterException(Throwable)
Initializes a new instance of the InvalidParameterException class.

Methods

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

Defined in

InvalidParameterException.java

Package

com.microsoft.rightsmanagement.exceptions

Remarks

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