1. A method for detecting and correcting an error in data in a cache location due to a hardware failure in said cache location, said data having a parity bit, said method comprising the steps of: detecting a parity error in said data in said cache location; writing said data to an outpage buffer; inverting said data from said outpage buffer and writing the inverted data to an inpage buffer; writing said inverted data from said inpage buffer to said cache location; reading said inverted data from said cache location; and after said reading, inverting said inverted data to yield corrected data, and writing said corrected data into said outpage buffer, whereby said corrected data in said outpage buffer is corrected for a single bit hardware failure in said cache location.