Go to the source code of this file.
Functions | |
void | throwStorageError (const char *context, const char *call, int error) |
void throwStorageError | ( | const char * | context, |
const char * | call, | ||
int | error | ||
) |
Definition at line 7 of file Throw.cc.
References Exception.
Referenced by File::close(), IOChannel::close(), File::flush(), RemoteFile::get(), IOChannel::isBlocking(), RemoteFile::local(), File::position(), IOChannel::read(), File::read(), IOChannel::readv(), File::resize(), IOChannel::setBlocking(), File::size(), File::sysduplicate(), File::sysopen(), IOChannel::write(), File::write(), and IOChannel::writev().
{ throw cms::Exception (context) << call << " failed with system error '" << strerror (error) << "' (error code " << error << ")"; }