Skip to content

Commit 77f21e7

Browse files
authored
minor addition to error message (#388)
... for Heartbeat interval
1 parent e072115 commit 77f21e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quickfixj-core/src/main/java/quickfix/DefaultSessionFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public Session create(SessionID sessionID, SessionSettings settings) throws Conf
159159
if (connectionType.equals(SessionFactory.INITIATOR_CONNECTION_TYPE)) {
160160
heartbeatInterval = (int) settings.getLong(sessionID, Session.SETTING_HEARTBTINT);
161161
if (heartbeatInterval <= 0) {
162-
throw new ConfigError("Heartbeat must be greater than zero");
162+
throw new ConfigError("Heartbeat interval must be greater than zero");
163163
}
164164
}
165165

0 commit comments

Comments
 (0)