static RuntimeException rethrowAndAppendToMessage(Throwable t, S msg) { if (t.getClass() == RuntimeException.class) throw new RuntimeException(joinNemptiesWithSpace(trimAll(t.getMessage(), msg)), t.getCause()); else fail(msg, t); }