diff --git a/tapeserver/castor/exception/PermissionDenied.cpp b/tapeserver/castor/exception/PermissionDenied.cpp deleted file mode 100644 index 921132c11adb6756c8c9cfe5d89087c738be54ae..0000000000000000000000000000000000000000 --- a/tapeserver/castor/exception/PermissionDenied.cpp +++ /dev/null @@ -1,34 +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 Files -#include <errno.h> -#include "serrno.h" -#include "castor/exception/PermissionDenied.hpp" - -// ----------------------------------------------------------------------- -// Constructor -// ----------------------------------------------------------------------- -castor::exception::PermissionDenied::PermissionDenied() : - castor::exception::Exception(EACCES) {} diff --git a/tapeserver/castor/exception/PermissionDenied.hpp b/tapeserver/castor/exception/PermissionDenied.hpp deleted file mode 100644 index b0a1828fe72456afc7f54bc95346e2434e708b14..0000000000000000000000000000000000000000 --- a/tapeserver/castor/exception/PermissionDenied.hpp +++ /dev/null @@ -1,51 +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 Files -#include "castor/exception/Exception.hpp" - -namespace castor { - - namespace exception { - - /** - * Invalid argument exception - */ - class PermissionDenied : public castor::exception::Exception { - - public: - - /** - * default constructor - */ - PermissionDenied(); - - }; - - } // end of namespace exception - -} // end of namespace castor -