Commit b4355d15 authored by Daniele Kruse's avatar Daniele Kruse
Browse files

Removed the exception throws in the non-implemented methods of the ARchiveJob...

Removed the exception throws in the non-implemented methods of the ARchiveJob and RetrieveJOB classes, since they were causing random segfaults in the unit tests, still we need to find the root cause (maybe or maybe not)
parent f55cf427
......@@ -64,12 +64,12 @@ void cta::ArchiveJob::complete() {
// failed
//------------------------------------------------------------------------------
void cta::ArchiveJob::failed(const cta::exception::Exception &ex) {
throw std::runtime_error("cta::ArchiveJob::failed(): not implemented");
//throw std::runtime_error("cta::ArchiveJob::failed(): not implemented");
}
//------------------------------------------------------------------------------
// retry
//------------------------------------------------------------------------------
void cta::ArchiveJob::retry() {
throw std::runtime_error("cta::ArchiveJob::retry(): not implemented");
//throw std::runtime_error("cta::ArchiveJob::retry(): not implemented");
}
......@@ -50,12 +50,12 @@ void cta::RetrieveJob::complete() {
// failed
//------------------------------------------------------------------------------
void cta::RetrieveJob::failed() {
throw std::runtime_error("cta::RetrieveJob::failed(): not implemented");
//throw std::runtime_error("cta::RetrieveJob::failed(): not implemented");
}
//------------------------------------------------------------------------------
// retry
//------------------------------------------------------------------------------
void cta::RetrieveJob::retry() {
throw std::runtime_error("cta::RetrieveJob::retry(): not implemented");
//throw std::runtime_error("cta::RetrieveJob::retry(): not implemented");
}
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