
pl.allegro.tech.hermes.common.message.wrapper.SchemaMissingException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hermes-common Show documentation
Show all versions of hermes-common Show documentation
Fast and reliable message broker built on top of Kafka.
The newest version!
package pl.allegro.tech.hermes.common.message.wrapper;
import pl.allegro.tech.hermes.api.ErrorCode;
import pl.allegro.tech.hermes.api.Topic;
import pl.allegro.tech.hermes.common.exception.HermesException;
public class SchemaMissingException extends HermesException {
SchemaMissingException(Topic topic) {
super("Schema for topic " + topic.getQualifiedName() + " was not available");
}
@Override
public ErrorCode getCode() {
return ErrorCode.SCHEMA_COULD_NOT_BE_LOADED;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy