public RuntimeException wrapToSerializableRuntimeException(Throwable e) {
    Throwable wrap = wrapException(e);
    return wrap instanceof RuntimeException ? (RuntimeException)wrap : new RuntimeException(wrap);
  }
public RuntimeException wrapToSerializableRuntimeException(Throwable e)