Class StreamClosedByServerException

All Implemented Interfaces:
Serializable

public class StreamClosedByServerException extends StreamException
An exception indicating that the stream stopped because the server closed the connection.

This exception only happens if you are trying to read from one thread while EventSource.stop(), EventSource.interrupt(), or EventSource.close() is called from another thread.

See StreamException for more about EventSource's exception behavior.

Since:
4.0.0
See Also:
  • Constructor Details

    • StreamClosedByServerException

      public StreamClosedByServerException()
      Constructs an instance.
  • Method Details