public class Errors extends Object
| Constructor and Description |
|---|
Errors() |
| Modifier and Type | Method and Description |
|---|---|
static RestIdDoesNotMatchException |
idDoesNotMatchException(Throwable cause) |
static RestIncompatibleSchemaException |
incompatibleSchemaException(String message,
Throwable cause) |
static RestInvalidSchemaException |
invalidSchemaException(Throwable cause) |
static RestInvalidSubjectException |
invalidSubjectException(String subject) |
static RestInvalidVersionException |
invalidVersionException(String version) |
static RestOperationNotPermittedException |
operationNotPermittedException(String message) |
static io.confluent.rest.exceptions.RestException |
operationTimeoutException(String message,
Throwable cause) |
static RestReferenceExistsException |
referenceExistsException(String message) |
static io.confluent.rest.exceptions.RestException |
requestForwardingFailedException(String message,
Throwable cause) |
static io.confluent.rest.exceptions.RestException |
schemaNotFoundException() |
static io.confluent.rest.exceptions.RestException |
schemaNotFoundException(Integer id) |
static io.confluent.rest.exceptions.RestException |
schemaRegistryException(String message,
Throwable cause) |
static RestSchemaTooLargeException |
schemaTooLargeException(String message) |
static io.confluent.rest.exceptions.RestException |
schemaVersionNotSoftDeletedException(String subject,
String version) |
static io.confluent.rest.exceptions.RestException |
schemaVersionSoftDeletedException(String subject,
String version) |
static io.confluent.rest.exceptions.RestException |
storeException(String message,
Throwable cause) |
static io.confluent.rest.exceptions.RestException |
subjectLevelCompatibilityNotConfiguredException(String subject) |
static io.confluent.rest.exceptions.RestException |
subjectLevelModeNotConfiguredException(String subject) |
static io.confluent.rest.exceptions.RestException |
subjectNotFoundException(String subject) |
static io.confluent.rest.exceptions.RestException |
subjectNotSoftDeletedException(String subject) |
static io.confluent.rest.exceptions.RestException |
subjectSoftDeletedException(String subject) |
static io.confluent.rest.exceptions.RestException |
unknownLeaderException(String message,
Throwable cause) |
static io.confluent.rest.exceptions.RestException |
versionNotFoundException(Integer id) |
public static final String SUBJECT_NOT_FOUND_MESSAGE_FORMAT
public static final int SUBJECT_NOT_FOUND_ERROR_CODE
public static final String VERSION_NOT_FOUND_MESSAGE_FORMAT
public static final int VERSION_NOT_FOUND_ERROR_CODE
public static final String SCHEMA_NOT_FOUND_MESSAGE
public static final String SCHEMA_NOT_FOUND_MESSAGE_FORMAT
public static final int SCHEMA_NOT_FOUND_ERROR_CODE
public static final String SUBJECT_SOFT_DELETED_MESSAGE_FORMAT
public static final int SUBJECT_SOFT_DELETED_ERROR_CODE
public static final String SUBJECT_NOT_SOFT_DELETED_MESSAGE_FORMAT
public static final int SUBJECT_NOT_SOFT_DELETED_ERROR_CODE
public static final String SCHEMAVERSION_SOFT_DELETED_MESSAGE_FORMAT
public static final int SCHEMAVERSION_SOFT_DELETED_ERROR_CODE
public static final String SCHEMAVERSION_NOT_SOFT_DELETED_MESSAGE_FORMAT
public static final int SCHEMAVERSION_NOT_SOFT_DELETED_ERROR_CODE
public static final String SUBJECT_LEVEL_COMPATIBILITY_NOT_CONFIGURED_MESSAGE_FORMAT
public static final int SUBJECT_LEVEL_COMPATIBILITY_NOT_CONFIGURED_ERROR_CODE
public static final String SUBJECT_LEVEL_MODE_NOT_CONFIGURED_MESSAGE_FORMAT
public static final int SUBJECT_LEVEL_MODE_NOT_CONFIGURED_ERROR_CODE
public static final int INCOMPATIBLE_SCHEMA_ERROR_CODE
public static final int INVALID_SCHEMA_ERROR_CODE
public static final int INVALID_VERSION_ERROR_CODE
public static final int INVALID_COMPATIBILITY_LEVEL_ERROR_CODE
public static final int INVALID_MODE_ERROR_CODE
public static final int OPERATION_NOT_PERMITTED_ERROR_CODE
public static final int REFERENCE_EXISTS_ERROR_CODE
public static final int ID_DOES_NOT_MATCH_ERROR_CODE
public static final int INVALID_SUBJECT_ERROR_CODE
public static final int SCHEMA_TOO_LARGE_ERROR_CODE
public static final int INVALID_RULESET_ERROR_CODE
public static final int STORE_ERROR_CODE
public static final int OPERATION_TIMEOUT_ERROR_CODE
public static final int REQUEST_FORWARDING_FAILED_ERROR_CODE
public static final int UNKNOWN_LEADER_ERROR_CODE
public static io.confluent.rest.exceptions.RestException subjectNotFoundException(String subject)
public static io.confluent.rest.exceptions.RestException subjectSoftDeletedException(String subject)
public static io.confluent.rest.exceptions.RestException subjectNotSoftDeletedException(String subject)
public static io.confluent.rest.exceptions.RestException schemaVersionSoftDeletedException(String subject, String version)
public static io.confluent.rest.exceptions.RestException schemaVersionNotSoftDeletedException(String subject, String version)
public static io.confluent.rest.exceptions.RestException subjectLevelCompatibilityNotConfiguredException(String subject)
public static io.confluent.rest.exceptions.RestException subjectLevelModeNotConfiguredException(String subject)
public static io.confluent.rest.exceptions.RestException versionNotFoundException(Integer id)
public static io.confluent.rest.exceptions.RestException schemaNotFoundException()
public static io.confluent.rest.exceptions.RestException schemaNotFoundException(Integer id)
public static RestIncompatibleSchemaException incompatibleSchemaException(String message, Throwable cause)
public static RestIdDoesNotMatchException idDoesNotMatchException(Throwable cause)
public static RestInvalidSchemaException invalidSchemaException(Throwable cause)
public static RestInvalidVersionException invalidVersionException(String version)
public static RestInvalidSubjectException invalidSubjectException(String subject)
public static io.confluent.rest.exceptions.RestException schemaRegistryException(String message, Throwable cause)
public static io.confluent.rest.exceptions.RestException storeException(String message, Throwable cause)
public static RestSchemaTooLargeException schemaTooLargeException(String message)
public static io.confluent.rest.exceptions.RestException operationTimeoutException(String message, Throwable cause)
public static RestOperationNotPermittedException operationNotPermittedException(String message)
public static RestReferenceExistsException referenceExistsException(String message)
public static io.confluent.rest.exceptions.RestException requestForwardingFailedException(String message, Throwable cause)
Copyright © 2026 Confluent, Inc.. All rights reserved.