ClearCreationOptionsException


public abstract class ClearCreationOptionsException extends Exception

Known direct subclasses
ClearCreationOptionsConfigurationException

During the RegistryManager.clearCreationOptions 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.

ClearCreationOptionsUnknownException

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


Represents an error thrown during a RegistryManager.clearCreationOptions transaction.

Summary

Public constructors

ClearCreationOptionsException(
    @NonNull String type,
    CharSequence errorMessage
)

Public methods

final CharSequence

the error message

final @NonNull String

the type of the error

Public constructors

ClearCreationOptionsException

Added in 1.0.0-alpha04
public ClearCreationOptionsException(
    @NonNull String type,
    CharSequence errorMessage
)

Public methods

getErrorMessage

Added in 1.0.0-alpha04
public final CharSequence getErrorMessage()

the error message

getType

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

the type of the error