Skip to content
Snippets Groups Projects
Commit ad6b8105 authored by Steven Murray's avatar Steven Murray
Browse files

Removed the unused DiskException

parent 205707e5
Branches
Tags
No related merge requests found
......@@ -48,7 +48,6 @@ set (COMMON_LIB_SRC_FILES
archiveNS/TapeFileLocation.cpp
checksum/Checksum.cpp
exception/Backtrace.cpp
exception/DiskException.hpp
exception/Errnum.cpp
exception/Exception.cpp
log/DummyLogger.cpp
......
/*
* The CERN Tape Archive (CTA) project
* Copyright (C) 2015 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 3 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, see <http://www.gnu.org/licenses/>.
*/
#include "common/exception/DiskException.hpp"
//------------------------------------------------------------------------------
// constructor
//------------------------------------------------------------------------------
cta::DiskException::DiskException(const std::string &message):
Exception(message) {
}
//------------------------------------------------------------------------------
// destructor
//------------------------------------------------------------------------------
cta::DiskException::~DiskException() throw() {
}
/*
* The CERN Tape Archive (CTA) project
* Copyright (C) 2015 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 3 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, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "common/exception/Exception.hpp"
using cta::exception::Exception;
namespace cta {
/**
* Class representing a disk releated fault.
*/
class DiskException: public Exception {
public:
/**
* Constructor.
*/
DiskException(const std::string &message);
/**
* Destructor.
*/
~DiskException() throw();
}; // class Exception
} // namespace cta
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment