All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.smallrye.reactive.messaging.gcp.pubsub.i18n.PubSubExceptions Maven / Gradle / Ivy

The newest version!
package io.smallrye.reactive.messaging.gcp.pubsub.i18n;

import org.jboss.logging.Messages;
import org.jboss.logging.annotations.Cause;
import org.jboss.logging.annotations.Message;
import org.jboss.logging.annotations.MessageBundle;

/**
 * Exceptions for GCP Pub/Sub Connector
 * Assigned ID range is 14600-14699
 */
@MessageBundle(projectCode = "SRMSG", length = 5)
public interface PubSubExceptions {

    PubSubExceptions ex = Messages.getBundle(PubSubExceptions.class);

    @Message(id = 14600, value = "Unable to build pub/sub subscription admin client")
    IllegalStateException illegalStateUnableToBuildSubscriptionAdminClient(@Cause Throwable t);

    @Message(id = 14601, value = "Unable to build pub/sub topic admin client")
    IllegalStateException illegalStateUnableToBuildTopicAdminClient(@Cause Throwable t);

    @Message(id = 14602, value = "Unable to build pub/sub publisher")
    IllegalStateException illegalStateUnableToBuildPublisher(@Cause Throwable t);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy