private static boolean maybeReadTimeOut(Throwable e) {
        do {
            if (IOException.class.isInstance(e)) {
            	String message = e.getMessage().toLowerCase();
            	Matcher matcher = READ_TIME_OUT_PATTERN.matcher(message);
            	if(matcher.find()) {
            		return true;
            	}
            }
            e = e.getCause();
        } while (e != null);
        return false;
    }
private static boolean maybeReadTimeOut ( Throwable e ) { do { if ( IOException . class . isInstance ( e ) ) { String message = e . getMessage ( ) . toLowerCase ( ) ; Matcher matcher = READ_TIME_OUT_PATTERN . matcher ( message ) ; if ( matcher . find ( ) ) { return true ; } } e = e . getCause ( ) ; } while ( e != null ) ; return false ; }
Check if the exception is socket read time out exception

@param e
The exception for which the information needs to be found.
@return true, if it may be a socket read time out exception.