Reports a failure in writing.
bool failed() const throw();
The bool false value is returned if a write failure occurs.