diff --git a/tapeserver/castor/exception/DismountFailed.cpp b/tapeserver/castor/exception/DismountFailed.cpp deleted file mode 100644 index c05fca4ee8380c05692071927eff4cdf08881cb6..0000000000000000000000000000000000000000 --- a/tapeserver/castor/exception/DismountFailed.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/DismountFailed.hpp" -#include "serrno.h" - - -// ----------------------------------------------------------------------------- -// Constructor -// ----------------------------------------------------------------------------- -castor::exception::DismountFailed::DismountFailed(): - castor::exception::Exception(ETDISMOUNTFAILED) { -} diff --git a/tapeserver/castor/exception/DismountFailed.hpp b/tapeserver/castor/exception/DismountFailed.hpp deleted file mode 100644 index 1140b6dc8f7faede8cebd726bf39d21e5458955c..0000000000000000000000000000000000000000 --- a/tapeserver/castor/exception/DismountFailed.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 dismount volume. - */ - class DismountFailed : public cta::exception::Exception { - - public: - - /** - * Constructor - */ - DismountFailed(); - - }; // class DismountFailed - -} } // namespace castor exception - diff --git a/tapeserver/castor/mediachanger/DismountCmd.hpp b/tapeserver/castor/mediachanger/DismountCmd.hpp index 9d8a0ff46b9ffcc159cc7bd786223f7905ca7d69..621653cd96571df8ae3de1792e9b9f8dc10fbd46 100644 --- a/tapeserver/castor/mediachanger/DismountCmd.hpp +++ b/tapeserver/castor/mediachanger/DismountCmd.hpp @@ -25,7 +25,6 @@ #include "castor/exception/InvalidArgument.hpp" #include "castor/exception/MissingOperand.hpp" -#include "castor/exception/DismountFailed.hpp" #include "castor/mediachanger/CmdLineTool.hpp" #include "castor/mediachanger/DismountCmdLine.hpp"