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
StreamExceptionfor 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 booleanequals(java.lang.Object o)java.io.IOExceptiongetIOException()Returns the original error as anIOException.inthashCode()
-
-
-
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:
equalsin classStreamException
-
hashCode
public int hashCode()
- Overrides:
hashCodein classStreamException
-
-