NonceLoaderException

public final class NonceLoaderException extends Exception


An exception that occurred in the NonceLoader class. This exception will generally be passed to a listener rather than thrown. The user should fallback to not using NonceLoader library in case of failure.

Summary

Nested types

@IntDef(value = [ErrorCodes.EMPTY_NONCE, ErrorCodes.ENCRYPTION_FAILED, ErrorCodes.NONCE_TOO_LONG, ErrorCodes.INVALID_CONTEXT, ErrorCodes.INVALID_NONCE_REQUEST, ErrorCodes.FAILED_TO_LOAD_KEYSET, ErrorCodes.PUBLIC_KEY_FAILED_TO_LOAD, ErrorCodes.CRYPTOGRAPHY_UNAVAILABLE, ErrorCodes.UNKNOWN_ERROR])
@Retention(value = RetentionPolicy.SOURCE)
public annotation NonceLoaderException.ErrorCodes

Error codes for NonceLoader exceptions.

Inherited methods

From java.lang.Throwable
synchronized final void
synchronized Throwable
synchronized Throwable
String
StackTraceElement[]
synchronized final Throwable[]
synchronized Throwable
void
void
setStackTrace(StackTraceElement[] p)
String