Class DekRegistryErrors
java.lang.Object
io.confluent.dekregistry.web.rest.exceptions.DekRegistryErrors
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.confluent.rest.exceptions.RestExceptionalreadyExistsException(String name) static io.confluent.rest.exceptions.RestServerErrorExceptiondekGenerationException(String message) static RestInvalidKeyExceptioninvalidOrMissingKeyInfo(String field) static io.confluent.rest.exceptions.RestExceptionkeyNotFoundException(String name) static io.confluent.rest.exceptions.RestExceptionstatic io.confluent.rest.exceptions.RestExceptionstatic RestReferenceExistsExceptionstatic io.confluent.rest.exceptions.RestExceptiontooManyKeysException(int maxKeys)
-
Field Details
-
KEY_NOT_FOUND_MESSAGE_FORMAT
- See Also:
-
KEY_NOT_FOUND_ERROR_CODE
public static final int KEY_NOT_FOUND_ERROR_CODE- See Also:
-
KEY_NOT_SOFT_DELETED_MESSAGE_FORMAT
- See Also:
-
KEY_NOT_SOFT_DELETED_ERROR_CODE
public static final int KEY_NOT_SOFT_DELETED_ERROR_CODE- See Also:
-
KEY_SOFT_DELETED_MESSAGE_FORMAT
- See Also:
-
KEY_SOFT_DELETED_ERROR_CODE
public static final int KEY_SOFT_DELETED_ERROR_CODE- See Also:
-
ALREADY_EXISTS_MESSAGE_FORMAT
- See Also:
-
ALREADY_EXISTS_ERROR_CODE
public static final int ALREADY_EXISTS_ERROR_CODE- See Also:
-
TOO_MANY_KEYS_MESSAGE_FORMAT
- See Also:
-
TOO_MANY_KEYS_ERROR_CODE
public static final int TOO_MANY_KEYS_ERROR_CODE- See Also:
-
INVALID_KEY_ERROR_CODE
public static final int INVALID_KEY_ERROR_CODE- See Also:
-
REFERENCE_EXISTS_ERROR_CODE
public static final int REFERENCE_EXISTS_ERROR_CODE- See Also:
-
DEK_GENERATION_ERROR_CODE
public static final int DEK_GENERATION_ERROR_CODE- See Also:
-
-
Constructor Details
-
DekRegistryErrors
public DekRegistryErrors()
-
-
Method Details
-
keyNotFoundException
-
keyNotSoftDeletedException
-
keySoftDeletedException
-
alreadyExistsException
-
tooManyKeysException
public static io.confluent.rest.exceptions.RestException tooManyKeysException(int maxKeys) -
invalidOrMissingKeyInfo
-
referenceExistsException
-
dekGenerationException
public static io.confluent.rest.exceptions.RestServerErrorException dekGenerationException(String message)
-