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 } ) ; }
Helper method for formatting connection termination messages .