if (rm == null)
thrownew AvroRuntimeException("No such remote message: "+messageName);
Message m = getLocal().getMessages().get(messageName);
if (m == null)
thrownew AvroRuntimeException("No message named "+messageName
+" in "+getLocal());
if (rm == null)
thrownew AvroRuntimeException("No such remote message: "+messageName);
Message m = getLocal().getMessages().get(messageName);
if (m == null)
thrownew AvroRuntimeException("No message named "+messageName
+" in "+getLocal());
Message m = getLocal().getMessages().get(messageName);
if (m == null)
thrownew AvroRuntimeException("No message named "+messageName
+" in "+getLocal());
if (m.isOneWay() != rm.isOneWay())
thrownew AvroRuntimeException("Not both one-way: "+messageName);