public org.fudgemsg.FudgeMsg toFudgeMsg(final org.fudgemsg.FudgeMsgFactory fudgeContext) {
   if (fudgeContext == null) throw new NullPointerException("fudgeContext must not be null");
   final org.fudgemsg.MutableFudgeMsg msg = fudgeContext.newMessage();
   toFudgeMsg(fudgeContext, msg);
   return msg;
 }
 /**
  * Serializes this pair to a Fudge message.
  *
  * @param factory the Fudge context, not null
  * @return the Fudge message, not null
  */
 public FudgeMsg toFudgeMsg(FudgeMsgFactory factory) {
   return toFudgeMsg(factory, factory.newMessage());
 }