Fixed exception message formatting.