Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

PString PIndirectChannel::GetErrorText ( ErrorGroup  group = NumErrorGroups  )  const [virtual, inherited]

Get error message description. Return a string indicating the error message that may be displayed to the user. The error for the last I/O operation in this object is used.

Returns:
Operating System error description string.
Parameters:
group  Error group to get

Reimplemented from PChannel.

Reimplemented in PSSLChannel.

Definition at line 876 of file pchannel.cxx.

Referenced by PInternetProtocol::ReadResponse(), and PHTTPClient::ReadResponse().

{
  if (readChannel != NULL)
    return readChannel->GetErrorText(group);

  if (writeChannel != NULL)
    return writeChannel->GetErrorText(group);

  return PChannel::GetErrorText(group);
}


Generated by  Doxygen 1.6.0   Back to index