RegisterCredentialsException


public abstract class RegisterCredentialsException extends Exception

Known direct subclasses
RegisterCredentialsConfigurationException

During the RegistryManager.registerCredentials transaction, this is thrown when configurations are mismatched for the RegistryManager service, typically indicating the service provider dependency is missing in the manifest or some system service is not enabled.

RegisterCredentialsUnknownException

Thrown when the RegistryManager.registerCredentials transaction fails with no more detailed information.


Represents an error thrown during a RegistryManager.registerCredentials transaction.

Summary

Public constructors

RegisterCredentialsException(
    @NonNull String type,
    CharSequence errorMessage
)

Public methods

final CharSequence

the error message

final @NonNull String

the type of the error

Public constructors

RegisterCredentialsException

Added in 1.0.0-alpha01
public RegisterCredentialsException(
    @NonNull String type,
    CharSequence errorMessage
)

Public methods

getErrorMessage

Added in 1.0.0-alpha01
public final CharSequence getErrorMessage()

the error message

getType

Added in 1.0.0-alpha01
public final @NonNull String getType()

the type of the error