Commit 639ac504 authored by Eric Cano's avatar Eric Cano
Browse files

Switched to !IsOK() for Xroot error detection to follow common practice...

Switched to !IsOK() for Xroot error detection to follow common practice (IsError() is supposed to be equivalent).
parent 99d9c186
......@@ -35,7 +35,7 @@ castor::exception::XrootCl::XrootCl(const XrdCl::XRootDStatus& status, const std
void castor::exception::XrootCl::throwOnError(const XrdCl::XRootDStatus& status, std::string context)
{
if (status.IsError()) {
if (!status.IsOk()) {
throw XrootCl(status, context);
}
}
......@@ -339,7 +339,7 @@ RadosStriperReadFile::~RadosStriperReadFile() throw() {
}
//==============================================================================
// XROOT WRITE FILE
// RADOS STRIPER WRITE FILE
//==============================================================================
RadosStriperWriteFile::RadosStriperWriteFile(const std::string &url){
throw castor::exception::Exception(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment