Compartilhar via


ServiceNotAvailableException class

Implements an exception which is used when a retry can help in solving the error which occurred Extends the ProtectionException class.

Signature

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

Methods

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

Defined in

ServiceNotAvailableException.java

Package

com.microsoft.rightsmanagement.exceptions

Remarks

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