/** * Return the ExecutionType instance on the supplied FIX message. * * @param inMessage a <code>Message</code> value * @return an <code>ExecutionType</code> value * @throws IllegalArgumentException if the message does not contain an ExecType value */ public static ExecutionType getInstanceForFIXMessage(Message inMessage) { try { return getInstanceForFIXValue(inMessage.getChar(quickfix.field.ExecType.FIELD)); } catch (FieldNotFound e) { throw new IllegalArgumentException(e); } } /**
static ExecutionType getExecOrExecTransType(Message inMessage) { if (inMessage.isSetField(ExecType.FIELD)) { try { return ExecutionType.getInstanceForFIXValue( inMessage.getChar(ExecType.FIELD)); } catch (FieldNotFound ignore) {