diff --git a/tapeserver/castor/exception/InvalidConfiguration.cpp b/tapeserver/castor/exception/InvalidConfiguration.cpp deleted file mode 100644 index 6a3ca9e0bad522fb97d9192e303727a9c9debbe7..0000000000000000000000000000000000000000 --- a/tapeserver/castor/exception/InvalidConfiguration.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 "serrno.h" -#include "castor/exception/InvalidConfiguration.hpp" - -//------------------------------------------------------------------------------ -// constructor -//------------------------------------------------------------------------------ -castor::exception::InvalidConfiguration::InvalidConfiguration() throw(): - castor::exception::Exception(SEINVALIDCONFIG) { - // Do nothing -} diff --git a/tapeserver/castor/exception/InvalidConfiguration.hpp b/tapeserver/castor/exception/InvalidConfiguration.hpp deleted file mode 100644 index 861a8f8ff40dee1169fe081206218c40cafa8186..0000000000000000000000000000000000000000 --- a/tapeserver/castor/exception/InvalidConfiguration.hpp +++ /dev/null @@ -1,47 +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 { - -/** - * Invalid configuration - */ -class InvalidConfiguration : public cta::exception::Exception { - -public: - - /** - * Constructor - */ - InvalidConfiguration() throw(); - -}; // class InvalidConfiguration - -} // namespace exception -} // namespace castor - diff --git a/tapeserver/castor/utils/utils.hpp b/tapeserver/castor/utils/utils.hpp index 389683ce987062209c10f01ca68d4978f9b9b835..4f084d95b695a92a5eaae56b8a152c60775bc2da 100644 --- a/tapeserver/castor/utils/utils.hpp +++ b/tapeserver/castor/utils/utils.hpp @@ -26,7 +26,6 @@ #include "common/exception/InvalidArgument.hpp" #include "common/exception/InvalidConfigEntry.hpp" -#include "castor/exception/InvalidConfiguration.hpp" #include "common/exception/Exception.hpp" #include <ostream>