Class Errors
java.lang.Object
io.confluent.kafka.schemaregistry.rest.exceptions.Errors
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final Stringstatic final intstatic final Stringstatic final intstatic final Stringstatic final intstatic final Stringstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final Stringstatic final intstatic final intstatic final intstatic final intstatic final intstatic final Stringstatic final Stringstatic final intstatic final intstatic final Stringstatic final intstatic final Stringstatic final intstatic final intstatic final Stringstatic final intstatic final Stringstatic final intstatic final Stringstatic final intstatic final Stringstatic final intstatic final Stringstatic final intstatic final Stringstatic final intstatic final Stringstatic final intstatic final intstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.confluent.rest.exceptions.RestExceptionassociationForResourceExistsException(String assocType, String resource) static io.confluent.rest.exceptions.RestExceptionstatic io.confluent.rest.exceptions.RestExceptionassociationFrozenException(String assocType, String subject) static io.confluent.rest.exceptions.RestExceptionassociationNotFoundException(String resource) static RestContextNotEmptyExceptioncontextNotEmptyException(String context) static RestIdDoesNotMatchExceptionidDoesNotMatchException(Throwable cause) incompatibleSchemaException(String message, Throwable cause) invalidAssociationException(String propertyName, String reason) static RestInvalidSchemaExceptioninvalidSchemaException(Throwable cause) static RestInvalidSubjectExceptioninvalidSubjectException(String subject) static RestInvalidVersionExceptioninvalidVersionException(String version) static io.confluent.rest.exceptions.RestExceptionoperationNotPermittedException(String message) static io.confluent.rest.exceptions.RestExceptionoperationTimeoutException(String message, Throwable cause) static RestReferenceExistsExceptionreferenceExistsException(String message) static io.confluent.rest.exceptions.RestExceptionrequestForwardingFailedException(String message, Throwable cause) static io.confluent.rest.exceptions.RestExceptionstatic io.confluent.rest.exceptions.RestExceptionstatic io.confluent.rest.exceptions.RestExceptionstatic io.confluent.rest.exceptions.RestExceptionschemaRegistryException(String message, Throwable cause) static RestSchemaTooLargeExceptionschemaTooLargeException(String message) static io.confluent.rest.exceptions.RestExceptionschemaVersionNotSoftDeletedException(String subject, String version) static io.confluent.rest.exceptions.RestExceptionschemaVersionSoftDeletedException(String subject, String version) static io.confluent.rest.exceptions.RestExceptionstoreException(String message, Throwable cause) static io.confluent.rest.exceptions.RestExceptionstrongAssociationExistsException(String subject) static io.confluent.rest.exceptions.RestExceptionstatic io.confluent.rest.exceptions.RestExceptionstatic io.confluent.rest.exceptions.RestExceptionsubjectNotFoundException(String subject) static io.confluent.rest.exceptions.RestExceptionsubjectNotSoftDeletedException(String subject) static io.confluent.rest.exceptions.RestExceptionsubjectSoftDeletedException(String subject) static io.confluent.rest.exceptions.RestExceptiontooManyAssociationsException(int max) static io.confluent.rest.exceptions.RestExceptionunknownLeaderException(String message, Throwable cause) static io.confluent.rest.exceptions.RestException
-
Field Details
-
SUBJECT_NOT_FOUND_MESSAGE_FORMAT
- See Also:
-
SUBJECT_NOT_FOUND_ERROR_CODE
public static final int SUBJECT_NOT_FOUND_ERROR_CODE- See Also:
-
VERSION_NOT_FOUND_MESSAGE_FORMAT
- See Also:
-
VERSION_NOT_FOUND_ERROR_CODE
public static final int VERSION_NOT_FOUND_ERROR_CODE- See Also:
-
SCHEMA_NOT_FOUND_MESSAGE
- See Also:
-
SCHEMA_NOT_FOUND_MESSAGE_FORMAT
- See Also:
-
SCHEMA_NOT_FOUND_ERROR_CODE
public static final int SCHEMA_NOT_FOUND_ERROR_CODE- See Also:
-
SUBJECT_SOFT_DELETED_MESSAGE_FORMAT
- See Also:
-
SUBJECT_SOFT_DELETED_ERROR_CODE
public static final int SUBJECT_SOFT_DELETED_ERROR_CODE- See Also:
-
SUBJECT_NOT_SOFT_DELETED_MESSAGE_FORMAT
- See Also:
-
SUBJECT_NOT_SOFT_DELETED_ERROR_CODE
public static final int SUBJECT_NOT_SOFT_DELETED_ERROR_CODE- See Also:
-
SCHEMAVERSION_SOFT_DELETED_MESSAGE_FORMAT
- See Also:
-
SCHEMAVERSION_SOFT_DELETED_ERROR_CODE
public static final int SCHEMAVERSION_SOFT_DELETED_ERROR_CODE- See Also:
-
SCHEMAVERSION_NOT_SOFT_DELETED_MESSAGE_FORMAT
- See Also:
-
SCHEMAVERSION_NOT_SOFT_DELETED_ERROR_CODE
public static final int SCHEMAVERSION_NOT_SOFT_DELETED_ERROR_CODE- See Also:
-
SUBJECT_LEVEL_COMPATIBILITY_NOT_CONFIGURED_MESSAGE_FORMAT
- See Also:
-
SUBJECT_LEVEL_COMPATIBILITY_NOT_CONFIGURED_ERROR_CODE
public static final int SUBJECT_LEVEL_COMPATIBILITY_NOT_CONFIGURED_ERROR_CODE- See Also:
-
SUBJECT_LEVEL_MODE_NOT_CONFIGURED_MESSAGE_FORMAT
- See Also:
-
SUBJECT_LEVEL_MODE_NOT_CONFIGURED_ERROR_CODE
public static final int SUBJECT_LEVEL_MODE_NOT_CONFIGURED_ERROR_CODE- See Also:
-
ASSOCIATION_NOT_FOUND_MESSAGE_FORMAT
- See Also:
-
ASSOCIATION_NOT_FOUND_ERROR_CODE
public static final int ASSOCIATION_NOT_FOUND_ERROR_CODE- See Also:
-
INCOMPATIBLE_SCHEMA_ERROR_CODE
public static final int INCOMPATIBLE_SCHEMA_ERROR_CODE- See Also:
-
TOO_MANY_ASSOCIATIONS_MESSAGE_FORMAT
- See Also:
-
TOO_MANY_ASSOCIATIONS_ERROR_CODE
public static final int TOO_MANY_ASSOCIATIONS_ERROR_CODE- See Also:
-
ASSOCIATION_FOR_RESOURCE_EXISTS_MESSAGE_FORMAT
- See Also:
-
ASSOCIATION_FOR_RESOURCE_EXISTS_ERROR_CODE
public static final int ASSOCIATION_FOR_RESOURCE_EXISTS_ERROR_CODE- See Also:
-
ASSOCIATION_FOR_SUBJECT_EXISTS_MESSAGE_FORMAT
- See Also:
-
ASSOCIATION_FOR_SUBJECT_EXISTS_ERROR_CODE
public static final int ASSOCIATION_FOR_SUBJECT_EXISTS_ERROR_CODE- See Also:
-
STRONG_ASSOCIATION_FOR_SUBJECT_EXISTS_MESSAGE_FORMAT
- See Also:
-
STRONG_ASSOCIATION_FOR_SUBJECT_EXISTS_ERROR_CODE
public static final int STRONG_ASSOCIATION_FOR_SUBJECT_EXISTS_ERROR_CODE- See Also:
-
NO_ACTIVE_SUBJECT_VERSION_EXISTS_MESSAGE_FORMAT
- See Also:
-
NO_ACTIVE_SUBJECT_VERSION_EXISTS_ERROR_CODE
public static final int NO_ACTIVE_SUBJECT_VERSION_EXISTS_ERROR_CODE- See Also:
-
ASSOCIATION_FROZEN_MESSAGE_FORMAT
- See Also:
-
ASSOCIATION_FROZEN_ERROR_CODE
public static final int ASSOCIATION_FROZEN_ERROR_CODE- See Also:
-
INVALID_SCHEMA_ERROR_CODE
public static final int INVALID_SCHEMA_ERROR_CODE- See Also:
-
INVALID_VERSION_ERROR_CODE
public static final int INVALID_VERSION_ERROR_CODE- See Also:
-
INVALID_COMPATIBILITY_LEVEL_ERROR_CODE
public static final int INVALID_COMPATIBILITY_LEVEL_ERROR_CODE- See Also:
-
INVALID_MODE_ERROR_CODE
public static final int INVALID_MODE_ERROR_CODE- See Also:
-
OPERATION_NOT_PERMITTED_ERROR_CODE
public static final int OPERATION_NOT_PERMITTED_ERROR_CODE- See Also:
-
REFERENCE_EXISTS_ERROR_CODE
public static final int REFERENCE_EXISTS_ERROR_CODE- See Also:
-
ID_DOES_NOT_MATCH_ERROR_CODE
public static final int ID_DOES_NOT_MATCH_ERROR_CODE- See Also:
-
INVALID_SUBJECT_ERROR_CODE
public static final int INVALID_SUBJECT_ERROR_CODE- See Also:
-
SCHEMA_TOO_LARGE_ERROR_CODE
public static final int SCHEMA_TOO_LARGE_ERROR_CODE- See Also:
-
INVALID_RULESET_ERROR_CODE
public static final int INVALID_RULESET_ERROR_CODE- See Also:
-
CONTEXT_NOT_EMPTY_ERROR_CODE
public static final int CONTEXT_NOT_EMPTY_ERROR_CODE- See Also:
-
INVALID_ASSOCIATION_ERROR_CODE
public static final int INVALID_ASSOCIATION_ERROR_CODE- See Also:
-
STORE_ERROR_CODE
public static final int STORE_ERROR_CODE- See Also:
-
OPERATION_TIMEOUT_ERROR_CODE
public static final int OPERATION_TIMEOUT_ERROR_CODE- See Also:
-
REQUEST_FORWARDING_FAILED_ERROR_CODE
public static final int REQUEST_FORWARDING_FAILED_ERROR_CODE- See Also:
-
UNKNOWN_LEADER_ERROR_CODE
public static final int UNKNOWN_LEADER_ERROR_CODE- See Also:
-
-
Constructor Details
-
Errors
public Errors()
-
-
Method Details
-
subjectNotFoundException
-
subjectSoftDeletedException
public static io.confluent.rest.exceptions.RestException subjectSoftDeletedException(String subject) -
subjectNotSoftDeletedException
public static io.confluent.rest.exceptions.RestException subjectNotSoftDeletedException(String subject) -
schemaVersionSoftDeletedException
-
schemaVersionNotSoftDeletedException
-
subjectLevelCompatibilityNotConfiguredException
public static io.confluent.rest.exceptions.RestException subjectLevelCompatibilityNotConfiguredException(String subject) -
subjectLevelModeNotConfiguredException
public static io.confluent.rest.exceptions.RestException subjectLevelModeNotConfiguredException(String subject) -
versionNotFoundException
-
schemaNotFoundException
public static io.confluent.rest.exceptions.RestException schemaNotFoundException() -
schemaNotFoundException
-
schemaNotFoundException
-
incompatibleSchemaException
public static RestIncompatibleSchemaException incompatibleSchemaException(String message, Throwable cause) -
idDoesNotMatchException
-
invalidSchemaException
-
invalidVersionException
-
invalidSubjectException
-
contextNotEmptyException
-
schemaRegistryException
-
storeException
-
schemaTooLargeException
-
operationTimeoutException
-
operationNotPermittedException
-
referenceExistsException
-
requestForwardingFailedException
-
unknownLeaderException
-
invalidAssociationException
public static RestInvalidAssociationException invalidAssociationException(String propertyName, String reason) -
associationForResourceExistsException
-
associationForSubjectExistsException
public static io.confluent.rest.exceptions.RestException associationForSubjectExistsException(String subject) -
associationFrozenException
-
associationNotFoundException
public static io.confluent.rest.exceptions.RestException associationNotFoundException(String resource) -
noActiveSubjectVersionExistsException
public static io.confluent.rest.exceptions.RestException noActiveSubjectVersionExistsException(String subject) -
strongAssociationExistsException
public static io.confluent.rest.exceptions.RestException strongAssociationExistsException(String subject) -
tooManyAssociationsException
public static io.confluent.rest.exceptions.RestException tooManyAssociationsException(int max)
-