private static void getFullMessage(StringBuilder sb, Throwable t) {
      if (t.getMessage() != null) {
        sb.append(t.getMessage());
      } else {
        sb.append(t.getClass());
      }
      if (t.getCause() != null) {
        sb.append(" caused by: ");
        getFullMessage(sb, t.getCause());
      }
    }
Creates a new {@code RegistrationMessage} that broadcasts that the given {@code
DataSerializer} was registered.
geode-core/src/main/java/org/apache/geode/internal/InternalDataSerializer.java