Class StreamClosedByCallerException

All Implemented Interfaces:
Serializable

public class StreamClosedByCallerException extends StreamException
An exception indicating that the stream stopped because you explicitly stopped it.

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

    • StreamClosedByCallerException

      public StreamClosedByCallerException()
      Constructs an instance.
  • Method Details