code: public static String formatConnectionTerminationMessage(final String connectionName, final String host, final String connectionReason, final String terminationReason) {
  		return CON_TERMINATION_FORMAT.format(new Object[] { connectionName, host, connectionReason, terminationReason });
  	}
docs: Helper method for formatting connection termination messages.
  
  @param connectionName
  The name of the connection
  @param host
  The remote host
  @param connectionReason
  The reason for establishing the connection
  @param terminationReason
  The reason for terminating the connection
  @return A formatted message in the format:
  "[&lt;connectionName&gt;] remote host[&lt;host&gt;] &lt;connectionReason&gt; - &lt;terminationReason&gt;"
  <br/>
  e.g. [con1] remote host[123.123.123.123] connection to ECMG -
  terminated by remote host.