Package com.launchdarkly.eventsource
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
Base class for all exceptions thrown by
EventSource.- Since:
- 4.0.0
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStreamException(Exception cause) Base class constructor.protectedStreamException(String message) Base class constructor. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StreamException
Base class constructor.- Parameters:
message- the event message
-
StreamException
Base class constructor.- Parameters:
cause- a wrapped exception
-
-
Method Details