diff --git a/tapeserver/castor/exception/Mismatch.cpp b/tapeserver/castor/exception/Mismatch.cpp deleted file mode 100644 index 6f4dced5e86a5032b3f8dcae5ac808eeff9122d5..0000000000000000000000000000000000000000 --- a/tapeserver/castor/exception/Mismatch.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/Mismatch.hpp" -#include "serrno.h" - - -// ----------------------------------------------------------------------------- -// Constructor -// ----------------------------------------------------------------------------- -castor::exception::Mismatch::Mismatch(): - castor::exception::Exception(SEMISMATCH) { -} diff --git a/tapeserver/castor/exception/Mismatch.hpp b/tapeserver/castor/exception/Mismatch.hpp deleted file mode 100644 index b26f47d07de19644be9da39a679f4921d95a1bb0..0000000000000000000000000000000000000000 --- a/tapeserver/castor/exception/Mismatch.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 { - - /** - * Mismatch. - */ - class Mismatch : public cta::exception::Exception { - - public: - - /** - * Constructor - */ - Mismatch(); - - }; // class Mismatch - -} } // namespace castor exception - diff --git a/tapeserver/castor/tape/tapeserver/file/File.cpp b/tapeserver/castor/tape/tapeserver/file/File.cpp index e87175d76341942c9d479a9bde3e4dd0ba95056c..c5d7eab9d8e37b9d5af9405ef16e41338d85a70e 100644 --- a/tapeserver/castor/tape/tapeserver/file/File.cpp +++ b/tapeserver/castor/tape/tapeserver/file/File.cpp @@ -24,7 +24,6 @@ #include "castor/tape/tapeserver/file/File.hpp" #include "castor/exception/Errnum.hpp" #include "castor/exception/SErrnum.hpp" -#include "castor/exception/Mismatch.hpp" #include "common/exception/InvalidArgument.hpp" #include <sstream> #include <iomanip>