Exception is expected when replace char is not supplied in the format string.