Class NetworkExceptionHelper
java.lang.Object
org.elasticsearch.common.transport.NetworkExceptionHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.logging.log4j.Level
getCloseConnectionExceptionLevel
(Throwable e, boolean rstOnClose) static boolean
-
Constructor Details
-
NetworkExceptionHelper
public NetworkExceptionHelper()
-
-
Method Details
-
isConnectException
-
getCloseConnectionExceptionLevel
public static org.apache.logging.log4j.Level getCloseConnectionExceptionLevel(Throwable e, boolean rstOnClose) - Returns:
- a log level indicating an approximate severity of the exception, or
Level.OFF
if the exception doesn't look to be network-related.
-