Skip to content
Snippets Groups Projects
Commit da9b226c authored by Steven Murray's avatar Steven Murray
Browse files

Removed dependencies between cta-tape-developer-acs-tools and cta::exception::MissingOperand

parent 6b4e9983
No related branches found
Tags v0.0-158
No related merge requests found
Pipeline #32492 failed
......@@ -20,7 +20,6 @@
#include "AcsCmd.hpp"
#include "AcsDismountCmdLine.hpp"
#include "common/exception/MissingOperand.hpp"
namespace cta {
namespace mediachanger {
......
......@@ -20,7 +20,6 @@
#include "AcsCmdLine.hpp"
#include "AcsDismountCmdLine.hpp"
#include "Constants.hpp"
#include "common/exception/MissingOperand.hpp"
#include <getopt.h>
#include <stdlib.h>
......@@ -86,7 +85,7 @@ cta::mediachanger::acs::AcsDismountCmdLine::AcsDismountCmdLine(const int argc,
// Check that both VID and DRIVE_SLOT have been specified
if(nbArgs < 2) {
cta::exception::MissingOperand ex;
cta::exception::Exception ex;
ex.getMessage() <<
"Both VID and DRIVE_SLOT must be specified";
......
......@@ -20,7 +20,6 @@
#include "AcsCmd.hpp"
#include "AcsMountCmdLine.hpp"
#include "common/exception/MissingOperand.hpp"
#include <stdint.h>
......
......@@ -19,7 +19,6 @@
#include "Acs.hpp"
#include "AcsMountCmdLine.hpp"
#include "Constants.hpp"
#include "common/exception/MissingOperand.hpp"
#include <getopt.h>
#include <stdlib.h>
......@@ -85,7 +84,7 @@ cta::mediachanger::acs::AcsMountCmdLine::AcsMountCmdLine(const int argc,
// Check that both VID and DRIVE_SLOT have been specified
if(nbArgs < 2) {
cta::exception::MissingOperand ex;
cta::exception::Exception ex;
ex.getMessage() << "Both VID and DRIVE_SLOT must be specified";
throw ex;
}
......
......@@ -20,7 +20,6 @@
#include "AcsCmd.hpp"
#include "AcsQueryDriveCmdLine.hpp"
#include "common/exception/MissingOperand.hpp"
#include "mediachanger/CmdLineTool.hpp"
#include <stdint.h>
......
......@@ -20,7 +20,6 @@
#include "Acs.hpp"
#include "AcsQueryDriveCmdLine.hpp"
#include "Constants.hpp"
#include "common/exception/MissingOperand.hpp"
#include <getopt.h>
#include <stdlib.h>
#include <string.h>
......@@ -83,7 +82,7 @@ cta::mediachanger::acs::AcsQueryDriveCmdLine::AcsQueryDriveCmdLine(const int arg
// Check that DRIVE_SLOT has been specified
if(1 > nbArgs) {
cta::exception::MissingOperand ex;
cta::exception::Exception ex;
ex.getMessage() << "DRIVE_SLOT must be specified";
throw ex;
}
......
......@@ -20,8 +20,6 @@
#include "AcsCmd.hpp"
#include "AcsQueryVolumeCmdLine.hpp"
#include "common/exception/MissingOperand.hpp"
#include <stdint.h>
......
......@@ -20,7 +20,6 @@
#include "Acs.hpp"
#include "AcsQueryVolumeCmdLine.hpp"
#include "Constants.hpp"
#include "common/exception/MissingOperand.hpp"
#include <getopt.h>
#include <stdlib.h>
......@@ -76,7 +75,7 @@ cta::mediachanger::acs::AcsQueryVolumeCmdLine::AcsQueryVolumeCmdLine(const int a
// Check that VID has been specified
if(nbArgs < 1) {
cta::exception::MissingOperand ex;
cta::exception::Exception ex;
ex.getMessage() << "VID must be specified";
throw ex;
}
......
......@@ -72,7 +72,6 @@ set (ACS_DISMOUNT_SRC_FILES
../../common/exception/Backtrace.cpp
../../common/exception/Exception.cpp
../../common/exception/Mismatch.cpp
../../common/exception/MissingOperand.cpp
../../common/exception/RequestFailed.cpp
Acs.cpp
AcsCmd.cpp
......@@ -99,7 +98,6 @@ set (ACS_MOUNT_SRC_FILES
../../common/exception/Backtrace.cpp
../../common/exception/Exception.cpp
../../common/exception/Mismatch.cpp
../../common/exception/MissingOperand.cpp
../../common/exception/RequestFailed.cpp
Acs.cpp
AcsCmd.cpp
......@@ -127,7 +125,6 @@ set (ACS_QUERYVOLUME_SRC_FILES
../../common/exception/Backtrace.cpp
../../common/exception/Exception.cpp
../../common/exception/Mismatch.cpp
../../common/exception/MissingOperand.cpp
../../common/exception/RequestFailed.cpp
Acs.cpp
AcsCmd.cpp
......@@ -157,7 +154,6 @@ set (ACS_QUERYDRIVE_SRC_FILES
../../common/exception/Backtrace.cpp
../../common/exception/Exception.cpp
../../common/exception/Mismatch.cpp
../../common/exception/MissingOperand.cpp
../../common/exception/RequestFailed.cpp
Acs.cpp
AcsCmd.cpp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment