Use String.format to create the exception message.