Class StreamException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.launchdarkly.eventsource.StreamException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
StreamClosedByCallerException, StreamClosedByServerException, StreamHttpErrorException, StreamIOException

public class StreamException extends Exception
Base class for all exceptions thrown by EventSource.
Since:
4.0.0
See Also:
  • Constructor Details

    • StreamException

      protected StreamException(String message)
      Base class constructor.
      Parameters:
      message - the event message
    • StreamException

      protected StreamException(Exception cause)
      Base class constructor.
      Parameters:
      cause - a wrapped exception
  • Method Details