question: static boolean causedByRDE ( DiskAccessException dae ) { boolean result = false ; if ( dae != null ) { Throwable cause = dae . getCause ( ) ; while ( cause != null ) { if ( cause instanceof RegionDestroyedException ) { result = true ; break ; } cause = cause . getCause ( ) ; } } return result ; }
target:  Return true if dae was caused by a RegionDestroyedException. This was added for bug 39603.