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