public class SocketUtil
extends java.lang.Object
Constructor and Description |
---|
SocketUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isConnectionLostException(java.io.IOException e)
Checks if the exception indicates that the connection was lost
|
static boolean |
isSocketTimeoutException(java.io.IOException e)
Utility method to find out if an exception was raised due to socket timeout
|
public static boolean isSocketTimeoutException(java.io.IOException e)
e
- the exceptionpublic static boolean isConnectionLostException(java.io.IOException e)
e
- the IOExceptionRoboSuite Java API, v11.2.8