java.lang.Object
io.confluent.kafka.schemaregistry.rest.exceptions.Errors

public class Errors extends Object
  • Field Details

    • SUBJECT_NOT_FOUND_MESSAGE_FORMAT

      public static final String 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

      public static final String 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

      public static final String SCHEMA_NOT_FOUND_MESSAGE
      See Also:
    • SCHEMA_NOT_FOUND_MESSAGE_FORMAT

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String 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

      public static io.confluent.rest.exceptions.RestException subjectNotFoundException(String subject)
    • subjectSoftDeletedException

      public static io.confluent.rest.exceptions.RestException subjectSoftDeletedException(String subject)
    • subjectNotSoftDeletedException

      public static io.confluent.rest.exceptions.RestException subjectNotSoftDeletedException(String subject)
    • schemaVersionSoftDeletedException

      public static io.confluent.rest.exceptions.RestException schemaVersionSoftDeletedException(String subject, String version)
    • schemaVersionNotSoftDeletedException

      public static io.confluent.rest.exceptions.RestException schemaVersionNotSoftDeletedException(String subject, String version)
    • subjectLevelCompatibilityNotConfiguredException

      public static io.confluent.rest.exceptions.RestException subjectLevelCompatibilityNotConfiguredException(String subject)
    • subjectLevelModeNotConfiguredException

      public static io.confluent.rest.exceptions.RestException subjectLevelModeNotConfiguredException(String subject)
    • versionNotFoundException

      public static io.confluent.rest.exceptions.RestException versionNotFoundException(Integer id)
    • schemaNotFoundException

      public static io.confluent.rest.exceptions.RestException schemaNotFoundException()
    • schemaNotFoundException

      public static io.confluent.rest.exceptions.RestException schemaNotFoundException(Integer id)
    • schemaNotFoundException

      public static io.confluent.rest.exceptions.RestException schemaNotFoundException(String guid)
    • incompatibleSchemaException

      public static RestIncompatibleSchemaException incompatibleSchemaException(String message, Throwable cause)
    • idDoesNotMatchException

      public static RestIdDoesNotMatchException idDoesNotMatchException(Throwable cause)
    • invalidSchemaException

      public static RestInvalidSchemaException invalidSchemaException(Throwable cause)
    • invalidVersionException

      public static RestInvalidVersionException invalidVersionException(String version)
    • invalidSubjectException

      public static RestInvalidSubjectException invalidSubjectException(String subject)
    • contextNotEmptyException

      public static RestContextNotEmptyException contextNotEmptyException(String context)
    • schemaRegistryException

      public static io.confluent.rest.exceptions.RestException schemaRegistryException(String message, Throwable cause)
    • storeException

      public static io.confluent.rest.exceptions.RestException storeException(String message, Throwable cause)
    • schemaTooLargeException

      public static RestSchemaTooLargeException schemaTooLargeException(String message)
    • operationTimeoutException

      public static io.confluent.rest.exceptions.RestException operationTimeoutException(String message, Throwable cause)
    • operationNotPermittedException

      public static RestOperationNotPermittedException operationNotPermittedException(String message)
    • referenceExistsException

      public static RestReferenceExistsException referenceExistsException(String message)
    • requestForwardingFailedException

      public static io.confluent.rest.exceptions.RestException requestForwardingFailedException(String message, Throwable cause)
    • unknownLeaderException

      public static io.confluent.rest.exceptions.RestException unknownLeaderException(String message, Throwable cause)
    • invalidAssociationException

      public static RestInvalidAssociationException invalidAssociationException(String propertyName, String reason)
    • associationForResourceExistsException

      public static io.confluent.rest.exceptions.RestException associationForResourceExistsException(String assocType, String resource)
    • associationForSubjectExistsException

      public static io.confluent.rest.exceptions.RestException associationForSubjectExistsException(String subject)
    • associationFrozenException

      public static io.confluent.rest.exceptions.RestException associationFrozenException(String assocType, String subject)
    • 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)