public static boolean isRetryException ( Throwable exception ) { if ( exception instanceof KeeperException ) { KeeperException keeperException = ( KeeperException ) exception ; return shouldRetry ( keeperException . code ( ) . intValue ( ) ) ; } return false ; }
Utility - return true if the given exception is retry - able