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

com.apollographql.subscription.exception.InactiveSubscriptionException Maven / Gradle / Ivy

The newest version!
package com.apollographql.subscription.exception;

import com.apollographql.subscription.callback.SubscriptionCallback;

/**
 * Exception thrown when subscription becomes inactive (router responds using 2xx status to any
 * callback message).
 */
public class InactiveSubscriptionException extends RuntimeException {

  public InactiveSubscriptionException(SubscriptionCallback callback) {
    super("Callback protocol " + callback + " failed to communicate with router");
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy