CMS 3D CMS Logo

Throw.cc File Reference

#include "Utilities/StorageFactory/src/Throw.h"
#include "FWCore/Utilities/interface/Exception.h"

Go to the source code of this file.

Functions

void throwStorageError (const char *context, const char *call, int error)


Function Documentation

void throwStorageError ( const char *  context,
const char *  call,
int  error 
)

Definition at line 5 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::write(), IOChannel::write(), and IOChannel::writev().

00006 {
00007   throw cms::Exception (context)
00008     << call << " failed with system error '"
00009     << strerror (error) << "' (error code " << error << ")";
00010 }


Generated on Tue Jun 9 17:56:01 2009 for CMSSW by  doxygen 1.5.4