Package com.launchdarkly.eventsource
Class StreamIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.launchdarkly.eventsource.StreamException
com.launchdarkly.eventsource.StreamIOException
- All Implemented Interfaces:
Serializable
An exception indicating that a connection could not be made, or that an
existing connection failed with a network error.
See StreamException for more about EventSource's exception behavior.
- Since:
- 4.0.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the original error as anIOException.inthashCode()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StreamIOException
Constructs an instance.- Parameters:
cause- the underlying error
-
-
Method Details
-
getIOException
Returns the original error as anIOException.- Returns:
- the original error
-
equals
- Overrides:
equalsin classStreamException
-
hashCode
public int hashCode()- Overrides:
hashCodein classStreamException
-