![]() |
![]() |
00001 #include "Utilities/StorageFactory/src/Throw.h" 00002 #include "FWCore/Utilities/interface/Exception.h" 00003 00004 void 00005 throwStorageError (const char *context, const char *call, int error) 00006 { 00007 throw cms::Exception (context) 00008 << call << " failed with system error '" 00009 << strerror (error) << "' (error code " << error << ")"; 00010 }