Commit 9af84404 authored by Eric Cano's avatar Eric Cano
Browse files

Added exceptions to not yet implemented functions.

parent 87d9b62e
......@@ -64,10 +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");
}
//------------------------------------------------------------------------------
// retry
//------------------------------------------------------------------------------
void cta::ArchiveJob::retry() {
throw std::runtime_error("cta::ArchiveJob::retry(): not implemented");
}
......@@ -50,9 +50,12 @@ void cta::RetrieveJob::complete() {
// failed
//------------------------------------------------------------------------------
void cta::RetrieveJob::failed() {
throw std::runtime_error("cta::RetrieveJob::failed(): not implemented");
}
//------------------------------------------------------------------------------
// retry
//------------------------------------------------------------------------------
void cta::RetrieveJob::retry() { }
void cta::RetrieveJob::retry() {
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