Compartilhar via


FailedAuthenticationException class

Signals that authentication failure has occurred. Extends the ProtectionException class.

Signature

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

Methods

Name Description
getLocalizedMessage
Returns a localized error message for the exception. Overrides Throwable.getLocalizedMessage.
getMessage
Returns a message. Overrides Throwable.getMessage.
getWWWAuthenticateHeader
Gets the WWW Authentication Header.

Defined in

FailedAuthenticationException.java

Package

com.microsoft.rightsmanagement.exceptions

Remarks

For more information, see the SDK documentation for the ProtectionException class.

Thread Safety

Members of this class are not guaranteed to be thread safe.