/** * Returns the first invalid tag, which is all that can be reported * in the resulting FIX reject message. * * @return the first invalid tag */ int getInvalidTag() { return exception != null ? exception.getField() : 0; }
/** * Returns the first invalid tag, which is all that can be reported * in the resulting FIX reject message. * * @return the first invalid tag */ int getInvalidTag() { return exception != null ? exception.getField() : 0; }
/** * Returns the first invalid tag, which is all that can be reported * in the resulting FIX reject message. * * @return the first invalid tag */ int getInvalidTag() { return exception != null ? exception.getField() : 0; }
if (message.isSetField(e.getField())) { if (rejectInvalidMessage) { throw e; getLog().onErrorEvent( "Warn: incoming message with incorrect field: " + message.getField(e.getField()) + ": " + message); } else { getLog().onErrorEvent( "Warn: incoming message with missing field: " + e.getField() + ": " + e.getMessage() + ": " + message); final String errorMessage = "Invalid Logon message: " + reason + " (field " + e.getField() + ")"; generateLogout(errorMessage); state.incrNextTargetMsgSeqNum(); disconnect(errorMessage, true); } else { generateReject(message, e.getSessionRejectReason(), e.getField());
if (message.isSetField(e.getField())) { if (rejectInvalidMessage) { throw e; getLog().onErrorEvent( "Warn: incoming message with incorrect field: " + message.getField(e.getField()) + ": " + getMessageToLog(message)); } else { getLog().onErrorEvent( "Warn: incoming message with missing field: " + e.getField() + ": " + e.getMessage() + ": " + getMessageToLog(message));
if (message.isSetField(e.getField())) { if (rejectInvalidMessage) { throw e; getLog().onErrorEvent( "Warn: incoming message with incorrect field: " + message.getField(e.getField()) + ": " + getMessageToLog(message)); } else { getLog().onErrorEvent( "Warn: incoming message with missing field: " + e.getField() + ": " + e.getMessage() + ": " + getMessageToLog(message));