diff --git a/tapeserver/castor/exception/MountFailed.cpp b/tapeserver/castor/exception/MountFailed.cpp deleted file mode 100644 index 5ba48c20755f9d8d1c28ce2d6de3870c21aa4eba..0000000000000000000000000000000000000000 --- a/tapeserver/castor/exception/MountFailed.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/****************************************************************************** - * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor - * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ - -#include "castor/exception/MountFailed.hpp" -#include "serrno.h" - - -// ----------------------------------------------------------------------------- -// Constructor -// ----------------------------------------------------------------------------- -castor::exception::MountFailed::MountFailed(): - castor::exception::Exception(ETMOUNTFAILED) { -} diff --git a/tapeserver/castor/exception/MountFailed.hpp b/tapeserver/castor/exception/MountFailed.hpp deleted file mode 100644 index f6810b8e01a954ed5b91ff8890b19bc956062d30..0000000000000000000000000000000000000000 --- a/tapeserver/castor/exception/MountFailed.hpp +++ /dev/null @@ -1,45 +0,0 @@ -/****************************************************************************** - * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor - * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ - -#pragma once - -#include "common/exception/Exception.hpp" - -namespace castor { namespace exception { - - /** - * Failed to mount volume. - */ - class MountFailed : public cta::exception::Exception { - - public: - - /** - * Constructor - */ - MountFailed(); - - }; // class MountFailed - -} } // namespace castor exception - diff --git a/tapeserver/castor/mediachanger/MountCmd.hpp b/tapeserver/castor/mediachanger/MountCmd.hpp index 5229a866ff2322774ace7c69cd6bcbb03b4d2d13..b89da3617fd0da7293df4e4e54fdede5c6811f65 100644 --- a/tapeserver/castor/mediachanger/MountCmd.hpp +++ b/tapeserver/castor/mediachanger/MountCmd.hpp @@ -25,7 +25,6 @@ #include "common/exception/InvalidArgument.hpp" #include "castor/exception/MissingOperand.hpp" -#include "castor/exception/MountFailed.hpp" #include "castor/mediachanger/CmdLineTool.hpp" #include "castor/mediachanger/MountCmdLine.hpp"