Class ExceptionUtils
java.lang.Object
org.springframework.data.elasticsearch.support.ExceptionUtils
- Since:
 - 4.4
 - Author:
 - Peter-Josef Meisch
 
- 
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisCausedByConnectionException(Throwable throwable) checks if the given throwable is aConnectExceptionor has one in its cause chain 
- 
Method Details
- 
isCausedByConnectionException
checks if the given throwable is aConnectExceptionor has one in its cause chain- Parameters:
 throwable- the throwable to check- Returns:
 - true if throwable is caused by a 
ConnectException 
 
 -