DoorKeeper/include/doorkeeper/components/exception.hpp

32 lines
991 B
C++
Raw Permalink Normal View History

2015-08-19 19:06:58 +00:00
/* Copyright 2015, Michele Santullo
* This file is part of DoorKeeper.
*
* DoorKeeper 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.
*
* DoorKeeper 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 DoorKeeper. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef idE137842DE628405E9154561168FFEE60
#define idE137842DE628405E9154561168FFEE60
#include <exception>
namespace dk {
class DoorKeeperException : public std::exception {
};
class SizeMismatchException : public DoorKeeperException {
};
} //namespace dk
#endif