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:
java.io.Serializable
public final class StreamIOException extends StreamException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StreamIOException(java.io.IOException cause)
Constructs an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.io.IOException
getIOException()
Returns the original error as anIOException
.int
hashCode()
-
-
-
Method Detail
-
getIOException
public java.io.IOException getIOException()
Returns the original error as anIOException
.- Returns:
- the original error
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classStreamException
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classStreamException
-
-