static private void throwFailure() throws InternalGemFireError, Error {
  if (failure != null)   throw failure;
}

static private void throwFailure ( ) throws InternalGemFireError , Error { if ( failure != null ) throw failure ; }
throw the system failure . this method does not return normally . < p > unfortunately , attempting to create a new throwable at this point may cause the thread to hang ( instead of generating another outofmemoryerror ) , so we have to make do with whatever error we have , instead of wrapping it with one pertinent to the current context . see bug 38394 .
