public class DekRegistryErrors extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ALREADY_EXISTS_ERROR_CODE |
static String |
ALREADY_EXISTS_MESSAGE_FORMAT |
static int |
DEK_GENERATION_ERROR_CODE |
static int |
INVALID_KEY_ERROR_CODE |
static int |
KEY_NOT_FOUND_ERROR_CODE |
static String |
KEY_NOT_FOUND_MESSAGE_FORMAT |
static int |
KEY_NOT_SOFT_DELETED_ERROR_CODE |
static String |
KEY_NOT_SOFT_DELETED_MESSAGE_FORMAT |
static int |
KEY_SOFT_DELETED_ERROR_CODE |
static String |
KEY_SOFT_DELETED_MESSAGE_FORMAT |
static int |
REFERENCE_EXISTS_ERROR_CODE |
static int |
TOO_MANY_KEYS_ERROR_CODE |
static String |
TOO_MANY_KEYS_MESSAGE_FORMAT |
| Constructor and Description |
|---|
DekRegistryErrors() |
| Modifier and Type | Method and Description |
|---|---|
static io.confluent.rest.exceptions.RestException |
alreadyExistsException(String name) |
static io.confluent.rest.exceptions.RestServerErrorException |
dekGenerationException(String message) |
static RestInvalidKeyException |
invalidOrMissingKeyInfo(String field) |
static io.confluent.rest.exceptions.RestException |
keyNotFoundException(String name) |
static io.confluent.rest.exceptions.RestException |
keyNotSoftDeletedException(String name) |
static io.confluent.rest.exceptions.RestException |
keySoftDeletedException(String name) |
static RestReferenceExistsException |
referenceExistsException(String name) |
static io.confluent.rest.exceptions.RestException |
tooManyKeysException(int maxKeys) |
public static final String KEY_NOT_FOUND_MESSAGE_FORMAT
public static final int KEY_NOT_FOUND_ERROR_CODE
public static final String KEY_NOT_SOFT_DELETED_MESSAGE_FORMAT
public static final int KEY_NOT_SOFT_DELETED_ERROR_CODE
public static final String KEY_SOFT_DELETED_MESSAGE_FORMAT
public static final int KEY_SOFT_DELETED_ERROR_CODE
public static final String ALREADY_EXISTS_MESSAGE_FORMAT
public static final int ALREADY_EXISTS_ERROR_CODE
public static final String TOO_MANY_KEYS_MESSAGE_FORMAT
public static final int TOO_MANY_KEYS_ERROR_CODE
public static final int INVALID_KEY_ERROR_CODE
public static final int REFERENCE_EXISTS_ERROR_CODE
public static final int DEK_GENERATION_ERROR_CODE
public static io.confluent.rest.exceptions.RestException keyNotFoundException(String name)
public static io.confluent.rest.exceptions.RestException keyNotSoftDeletedException(String name)
public static io.confluent.rest.exceptions.RestException keySoftDeletedException(String name)
public static io.confluent.rest.exceptions.RestException alreadyExistsException(String name)
public static io.confluent.rest.exceptions.RestException tooManyKeysException(int maxKeys)
public static RestInvalidKeyException invalidOrMissingKeyInfo(String field)
public static RestReferenceExistsException referenceExistsException(String name)
public static io.confluent.rest.exceptions.RestServerErrorException dekGenerationException(String message)
Copyright © 2026 Confluent, Inc.. All rights reserved.