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

org.whispersystems.signalservice.api.websocket.WebSocketUnavailableException Maven / Gradle / Ivy

There is a newer version: 2.15.3_unofficial_107
Show newest version
package org.whispersystems.signalservice.api.websocket;

import java.io.IOException;

/**
 * Thrown when the WebSocket is not available for use by runtime policy. Currently, the
 * WebSocket is only available when the app is in the foreground and requested via IncomingMessageObserver.
 * Or, when using WebSocket Strategy.
 */
public final class WebSocketUnavailableException extends IOException {
  public WebSocketUnavailableException() {
    super("WebSocket not currently available.");
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy